Skip to content
Alan Gutierrez edited this page Apr 17, 2011 · 2 revisions

My secret developers journal, where I scribble down all my deepest, darkest Timezone secrets.

Sat Apr 16 20:51:31 CDT 2011

Using date as a structure is potentially very confusing. It might be better to create a pseudo date structure, but that is a lot of extra code.

You would have to make a section about the cheat. If you do make a section about the cheat.

Or you could break down and create a date replacment that has API parity. This would be an object containing two date objects, one with UTC time and one with the offset time, but as UTC, of course, used solely for the fields.

This undoes the decision to not create a special type, but how are you supposed to use the severely limited Date type?

Wed Apr 13 12:15:39 CDT 2011

Dearest diary,

Today I learned all about wall clock time. Wall clock time is the opposite of standard time, and it means the time according to the clock on the wall, with daylight savings applied of applicable. "standard time" is the local time without daylight savings time.

There will be a "standard" field in the JSON timzeone file.

Clone this wiki locally