Dates are currently rendered in UTC on server side and then converted to local time on client side. Would be cooler to render them correctly on server side. This has multiple dimensions:
The default value of date inputs should always contain the current date in user's time zone
We need to find out what is the (preferred) time zone of the client
When receiving dates we currently implicitly assume they have UTC time zone. We must instead assume they have client's preferred time zone and then convert that to UTC before storing it (stored dates should always be UTC zoned)
Big question that remains is how to determine the client's time zone?
Use some strange locig to derive it from the locale?
Make it configurable on per User basis?
Where to store the value? We have no user settings yet
Make it configurable on per Counter basis?
If so, whats the default until the user configured one value?
Dates are currently rendered in UTC on server side and then converted to local time on client side. Would be cooler to render them correctly on server side. This has multiple dimensions:
Big question that remains is how to determine the client's time zone?