Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

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 :)

Please Log in or Create an account to join the conversation.

Last edit: by organicwebs.

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

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 :)

Please Log in or Create an account to join the conversation.

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

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

Should be better now.
Coding is now a piece of cake
The following user(s) said Thank You: organicwebs

Please Log in or Create an account to join the conversation.

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

Thanks Jocleyn - all fixed - fantastic!
Just call me Chris :)

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.058 seconds

Hi guys Before I ask for help just like to say I tried the tutorials on how to make a 2.5 component WOW.... HECTIC!! J-Cook is really amazing in its simplicity!!
Dorac (Forum)  

Get Started