Enhancement
Dates without timezone
Issue description
It should be possible to handle dates completely without timezone. Acutally it might make sense that date and time datatypes are by default without timezone, since this is the more common use case, so far (in 12 years) no occurrence type was really demanding a timezone.
Developer comments
This is more than one issue:
* if a date is stored in the database with a timezone (=is timezoned), the editor should allow editing no matter what. if a new date is created, the timezone editor should be hidden by default unless the stylesheet explicitly shows the timezone selector
* one can force the date to have a timezone with a compound constraint
* when the occurrences are created with the API, there seems to be a messup
* when viewing dates in the factsheet there seems to be a problem independent of whether the date is timezoned
The client behaves as described above: hide timezone select unless a value carries a timezone or it is explicitly shown through CSS.
The API behavior was changed. Up to now the timezone on native DateTime instances was used for creating the value of the occurrence. This is a problem since DateTime always has a time zone, if none is given it takes the default time zone. But no time zone is different than the current server time zone: if someone in the US uses a Topincs server in Germany, dates without timezones are better as they leave it up to the users to interpret it correctly (local time).
Generally most web databases will use occurrences in local time only. Only when users arrange meetings across timezones it is necessary to actually use timezoned dates. This is just one use case, of course there is others, e.g. flight or shipping data.
All points of the above list areresolved expcept for the last one. It was moved to a [7009, new issue].
|
Work sessions9
Start |
2017-05-25T12:41:37
|
End |
2017-05-25T14:43:08
|
Participant |
Robert Cerny
|
Start |
2017-05-25T19:38:06
|
End |
2017-05-25T20:02:53
|
Participant |
Robert Cerny
|
Start |
2017-05-25T21:15:31
|
End |
2017-05-25T22:29:29
|
Participant |
Robert Cerny
|
Start |
2017-05-26T07:12:57
|
End |
2017-05-26T09:31:03
|
Participant |
Robert Cerny
|
Start |
2017-05-26T10:03:58
|
End |
2017-05-26T12:45:42
|
Participant |
Robert Cerny
|
Start |
2017-05-26T13:58:21
|
End |
2017-05-26T16:47:33
|
Participant |
Robert Cerny
|
Start |
2017-05-26T20:12:02
|
End |
2017-05-26T21:08:30
|
Participant |
Robert Cerny
|
Start |
2017-05-27T08:44:23
|
End |
2017-05-27T10:03:31
|
Participant |
Robert Cerny
|
Start |
2017-05-28T08:55:44
|
End |
2017-05-28T09:50:40
|
Participant |
Robert Cerny
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.