admin:timezones
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
admin:timezones [2012/04/04 14:39] – jwarrior | admin:timezones [2012/06/12 17:06] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Time Zones ====== | ||
+ | |||
+ | * to compile new time zone data on a linux machine; this was done on Fedora. | ||
+ | * run 'ftp ftp.iana.org' | ||
+ | * user is anonymous and password is your email address | ||
+ | * 'cd tz' | ||
+ | * 'get tzdata-latest.tar.gz' | ||
+ | * 'get tzcode-latest.tar.gz' | ||
+ | * ' | ||
+ | * create a temporary time zone directory, e.g., / | ||
+ | * move both *.gz files to TopDir | ||
+ | * change to TopDir | ||
+ | * run 'tar -xzvf tzdata-latest.tar.gz' | ||
+ | * run 'tar -xzvf tzcode-latest.tar.gz' | ||
+ | * do 'chmod 666 Makefile to make it read/write. | ||
+ | * edit Makefile and change the line (number 40) TOPDIR= / | ||
+ | * save Makefile | ||
+ | * run 'make other_two' | ||
+ | * Copy both of these directories (and their sub-directories) to $VaRoot/ | ||
+ | * Add these lines to the template that creates the abt.ini file for Windows | ||
+ | [Timezones] | ||
+ | zoneinfoPath=$VaRoot/ | ||
+ | |||
+ | * --- stic 2012 ------------ | ||
+ | * Time class mutateObj*. see Time test case. | ||
+ | * do not deprecate ANSI methods | ||
+ | * use Dumper -> byteArrya and put contents in method. | ||
+ | * does windows have historical tz data? | ||
+ | * create an exception for bad dt and proceed wiht something. | ||
+ | * don't use abtError | ||
+ | * do explain mismatched preregs | ||
+ | * deprecate old dt constructors and make list | ||
+ | * look at subApp config expressions | ||
+ | * read single files. | ||
+ | * find system call to get tz info on linux | ||
+ | * make offset: do the right thing | ||
+ | * create GMT+1:34 on the fly | ||
+ | * get rid of offset as an instVar | ||
+ | * read versionString | ||
+ | * ------------------------------ | ||
+ | * chronos download is b196. vw pulls b202 from contributed. | ||
+ | * Chronos uses instances of either CalendarDuration or CivilDuration to represent durations of civil time. | ||
+ | * An interval of time has a beginning, and end, and a duration. | ||
+ | * DateAndTime now return the current date and time with an offset (a Duration) of 18000 seconds or 5 hours. The offset comes from the primitive primitiveSystemOffset. | ||
+ | * sending asUTC to that object add the negated duration to the time and sets offset to zero. so asUTC is the same as converting to GMT. | ||
+ | * sending asLocal reapplies the systemOffset and sets the offset to that of the system | ||
+ | * timeZoneName is not implemented and throws an error | ||
+ | * -------- | ||
+ | * How to write a DST primitive? | ||
+ | * What does chaining TimeZones together mean? | ||
+ | * Will DateAndTime calculations now always involve TZs? | ||
+ | * Olson versus tz? | ||
+ | * Ubuntu may have tzName in / | ||
+ | * Fedora will have tzName in / | ||
+ | * Aix has a TZ= line in / |