On Mon, 13 Jan 2003, Dave Rolsky wrote: > On Mon, 13 Jan 2003, Rich Bowen wrote: > > > So the internals would become ... what exactly? Right now, there are two > > integers stored - the "julian day", which is not actually the julian > > day, and the seconds, which is seconds since midnight (although I tend > > Sorry, I wasn't clear. I meant that since we are _already_ storing rata > die days plus seconds past midnight, we should change the _names_ of the > various methods and hash elements in the code, so that they don't > misleadingly say julian. That's all. > > > to get confused all the time about what timezone this is actually stored > > in - your local one, or GMT). We also store the offset (ie, > > hours offset from GMT) which is a 5-character string that looks like > > "-0100" or "+0430". Timezones are hard. > > We'll need to store an object, but we can't do that until we have > DateTime::TimeZone done ;)
We had discussed, at some length, over on Reefknot, about making these things storable, and that's an ongoing consideration. Putting an object in the object is all well and good, as long as there is a simple strinification that we can do, and store in a database, or text file, or palm device. Makes sense for this to be the ICal representation, IMHO. -- Rich Bowen - [EMAIL PROTECTED] http://kenya.rcbowen.com/
