>> We're not on 2.0 yet and are running on GemStone. Our dates are in a >> local time zone currently, how do we "work" with UTC dates and make >> sure the outside world see the correct date / time? > > Most probably you will get away with it, by only displaying dates/times in > local time zones, but make sure everything internally uses UTC (without > daylight > saving times). > > So you only have to be careful with when inputting data and when displaying. > Everything that is relative (like your example) will work out of the box.
This feels painful. I suppose we'll have to hunt for Dates in the system and migrate them. And then change our subclass of MADateDescription (we use a date picker) to convert to & from the local time zone. And then we have a few timestamps, which is indeed time zone sensitive. I feel the need for a timezone agnostic Date. But I suppose working with time and duration may complicate things. Thanks for the help. >> How do I write a test for this? > > I presume to properly reproduce the problem you would have to change the os > system-timezone > during a test. Which you could achieve with OSProcess :/ Eeeuw, ok
