Countdown not counting down at all

Created on 21 May 2012, over 12 years ago
Updated 20 September 2024, 5 months ago

I this module enabled using the Bartik theme, and it won't count down - it appears to only show the exact time left from when the page loads. What could be the issue with the Javascript? I'm on D-7.12.

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States ppatterson-edc

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Status changed to Needs review 6 months ago
  • πŸ‡¨πŸ‡ΎCyprus alex.bukach

    I confirm the module does not work as expected, I can see that issue in both 7.x and 8.x versions. The JavaScript code expects the numbers be wrapped in 's, however they are not. Fixing it was a part of a @burt.lo's patch in #2. Here's a 8.x patch.

  • Also confirming the module doesn't work as expected. I tested alex's patch ( https://www.drupal.org/project/countdown/issues/1591730#comment-15756791 πŸ› Countdown not counting down at all Needs review ) in a sandbox with Drupal 10.3 and branch 8.x-1.x-dev, but the only apparent change was the numbers are now displaying in italics per the tags. The timer is still not counting down dynamically, but only shows a change in countdown time when you refresh/visit the page.

  • πŸ‡¨πŸ‡ΎCyprus alex.bukach

    @hannakras I suggest you to have a look at https://www.drupal.org/project/countdown/issues/796110 πŸ› Day is cached Needs review and the MR there. I ended up reworking the whole module.

  • Thank you, @alex.bukach. I tested your MR, and it is counting down as expected now. I will comment over in that ticket as well.

Production build 0.71.5 2024