Date Time Handling in Vuu #1089
chrisjstevo
started this conversation in
Ideas
Replies: 1 comment 4 replies
-
I think it would be good to have a standard way for handling date, time and datetime. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Date time handling in any system is not trivial. When we think about date time handling in Vuu we have to take into account a few variables:
If we take a relatively simple example, I have a Vuu server in Ireland, publishing data to users sitting in Milan and Istanbul.
In the existing handling of dates on Vuu, the server would know the date as a long, mainly representing milliseconds since epoch.
(Future enhancement is to handle dates natively on the server as EpochTimestamMillis data type)
In the case the server is publishing the value:
The user in Milan will likely want to see this value as:
"24.07.2011 23:00:00 CEST" (Central European Summer Time)
Whereas the user in Istanbul will (probably) want this date to render as:
"25/Jul/2011 01:00:00 EEST" (European Eastern Summer Time)
They may also want to override this behaviour to say (Show me the time as London people would see it)
Beta Was this translation helpful? Give feedback.
All reactions