Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] Date picker bug - servers in other timezones

Date picker bug - servers in other timezones 09 Jun 2017 13:26 #15200

  • organicwebs
  • organicwebs's Avatar
  • Offline
  • Premium Member
  • Chris
  • Posts: 133
  • Thank you received: 21
  • Karma: 4
Hi,

When I select a date with the date picker, it stores it as something else in the database. I think it is a server timezone thing. I'm in +8:00.

The bug happens on my server - it does not show in the Sandbox.

Please - if a date is chosen - that exact date needs to be stored in the database.

In the form - I select 27-07-2017


But when saved - it shows 26-07-2017 (the day before)


To be continued - this forum won't let me put in too many pictures...
Just call me Chris :)
Last Edit: 09 Jun 2017 13:28 by organicwebs.
The administrator has disabled public write access.

Date picker bug - servers in other timezones 09 Jun 2017 13:27 #15201

  • organicwebs
  • organicwebs's Avatar
  • Offline
  • Premium Member
  • Chris
  • Posts: 133
  • Thank you received: 21
  • Karma: 4
continuned...

Editing the form again - shows the wrong date.



My component is broken. Need this fixed urgently before clients get upset.
Just call me Chris :)
The administrator has disabled public write access.

Date picker bug - servers in other timezones 09 Jun 2017 16:38 #15204

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
filter="USER_UTC" parameter was the problem.

Should be better now.
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: organicwebs

Date picker bug - servers in other timezones 09 Jun 2017 16:57 #15205

  • organicwebs
  • organicwebs's Avatar
  • Offline
  • Premium Member
  • Chris
  • Posts: 133
  • Thank you received: 21
  • Karma: 4
Thanks Jocleyn - all fixed - fantastic!
Just call me Chris :)
The administrator has disabled public write access.
Time to create page: 0.063 seconds

Get Started