I made some updates to my Countdown plugin. This plugin lets you easily maintain a “Dates To Remember” countdown in your sidebar.

Changes are mostly minor bugfixes, but could have a significant impact on your date display. Here’s a short list:

  • Dates set like 1st sat all will now correctly fall on the following month (as opposed to December) when the date has passed for the current month.
  • When Countdown displays the number of days to go until an event, it will say "Today", "1 day", or "X days", respecting plurality.
  • You can specify %nocountdown% in an event name to display only the date and not a countdown for that event.
  • Code to display today's events should now correctly display all of today's events.
  • Dates are converted from GMT using the WordPress GMT settings.
  • The gettime() function call is now officially fixed.
I also added the Philadelphia WordPress Meetup date to the dates.txt file, and updated the readme.txt with info about the %nocountdown% flag.

You can find the new Countdown 1.1 download on the hacks page.

Comments

To comment on this post, search for this URL in your ActivityPub client (such as Mastodon): https://asymptomatic.net/posts/countdown-11-update

No comments yet. Be the first to reply via ActivityPub!