• On both the user and admin pages, in the results table, the date is behind by one day. In the graph chart and the csv export, the date entry is correct.

    Thanks for looking into this.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter nonprofitweb

    (@nonprofitweb)

    Hello, is there any update on this? This issue is causing a lot of confusion for our users.

    Thread Starter nonprofitweb

    (@nonprofitweb)

    I finally dug into this myself. The issue is with jQuery dates and how it parses the info if no timezone is set. To fix this, in data.footable.min.js, instead of getDate(), it should be getUTCDate(). Instead of reworking the whole function, I also applied this change to the month and year variables.

    Hopefully this can be fixed in an upcoming version/update!

    Plugin Author YeKen

    (@aliakro)

    Hi there,

    Genuinely sorry for not seeing this sooner. I’ve only just seen the latest email notification for this!!

    I’ll definitely get this in the next release. Able to share your code changes? I use GitHub if comfortable wit Pull Requests?

    Al

    Thread Starter nonprofitweb

    (@nonprofitweb)

    Thank you. Created Pull Request. I applied the change to the minified version, but I’m guessing it will also need to be applied to the unminified file.

    Plugin Author YeKen

    (@aliakro)

    Thanks! Will try and get this in the next release!

    Thanks again!

    Plugin Author YeKen

    (@aliakro)

    This will be in 7.0.13 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Table Date Bug’ is closed to new replies.