| Issue 40: | datepicker selects localdate, can it select UT date ? | |
| 1 person starred this issue and may be notified of changes. | Back to list |
My computer runs on UTC, but datepicker still selects "today" as local date, not UTdate - eg. Feb14 PST, not Feb15 UT. Is there a way to make it recognize today on UT ? Issue: my database times are in UT, but datepicker by default can lose the latest values by selecting PST date instead of UTdate. |
|
,
Feb 16, 2009
Sorry, I don't quite understand your issue. Can you provide an example which illustrates the problem? Thanks, Kelvin :)
Owner: kelvin.luck
|
|
,
Aug 17, 2009
Not a defect - JS runs on the client, and takes its time from the client settings; therefore, this can be converted to UTC milliseconds (which is the root of all time) by running .getTime() on the Date instance. I do this, and then send the millis back to the server to save. What I want to know is if there is a setting to have datepicker return UTC milliseconds directly, without me having to take the time to parse and process the formatted date returned (as I am doing now)... |
|
|
|