[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
NSTimeZone assumption
From: |
Matt Rice |
Subject: |
NSTimeZone assumption |
Date: |
Sat, 10 Jul 2004 19:43:03 -0700 (PDT) |
in NSTimeZone -initWithName:data: it assumes that the
time zone name and the tzdata file have the same
filename, but this is broken with the PST timezone
which has a filename of PST8PDT
locally I patched it to just return /etc/localtime if
it can't find the zonefile since I don't use anything
which uses timezones other than the default, but
that's plain wrong..
also the zone file MST7MDT returns a name of MST but
there's a different zone file with the name MST so
this could possibly return the wrong zone..
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- NSTimeZone assumption,
Matt Rice <=