Date field value edit in backend

7 years 3 months ago #289469 by piglet
Date field value edit in backend was created by piglet
I have created a new field of data type.
When I edited its value for user in backend I have noticed that entering a new date and saving the profile changes value -1 day.
Example: I set 01.01.2015 and save user profile. Field value is set to 31.12.2014.
Screenshots from trying to set value 02.01.2001

Setting a new value:

User profile saved:

Saved value:

Field settings:


Setup:
CB 2.1.0+build.2016.12.28.01.24.32.d61585943
J 3.6.5
PHP 5.6.12
MySQLi 5.5.51-38
Attachments:

Please Log in to join the conversation.

7 years 3 months ago #289535 by krileon
Replied by krileon on topic Date field value edit in backend
This isn't possible. No offsetting is being applied to Date fields on display or on store in CB 2.1. This is like the 2nd or 3rd report of this happening and am at a complete loss as to the cause. Is it only off by 1 day when saving in backend? What browser are you using? What is the timezone set on your computer (this usage is JS based and will use your browsers timezone)?


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.216 seconds

Facebook Twitter LinkedIn