Re: Olson querying

2012-05-08 Thread Randal L. Schwartz
Rick == Rick Measham r...@measham.id.au writes: Rick $ olson time 13:48 # where is it currently 13:44? Rick $ olson time 13:48 -Cau # where in Australia is it currently 13:44 Does it offset by 4 minutes automatically? :-) -- Randal L. Schwartz - Stonehenge Consulting Services,

Re: Olson querying

2012-05-08 Thread Rick Measham
Magic! Cheers! Rick Measham  On 09/05/2012, at 6:38, mer...@stonehenge.com (Randal L. Schwartz) wrote: Rick == Rick Measham r...@measham.id.au writes: Rick $ olson time 13:48 # where is it currently 13:44? Rick $ olson time 13:48 -Cau # where in Australia is it currently

Re: Olson querying

2012-03-06 Thread Zefram
Anthony Ball wrote: a way to query when the DST changes happen. That'll need additions to the API for the timezone objects. I've got some plans to do that, but it's a later stage. -zefram

Re: Olson querying

2012-03-05 Thread Zefram
Dave Rolsky wrote: The use of Date::ISO8601, Date::JD, and Time::Unix seems a bit odd. Can't you use DateTime to do all this stuff and avoid the additional prereqs? Using DateTime would gain minimal convenience. On the downside, it's a heavy module load (both in memory and startup time) and a

Re: Olson querying

2012-03-05 Thread Zefram
New version of the query tool attached. This one has a lot more options for searching for zones. It lets you ask questions like: $ olson areas -Cru # where is Russia? Asia Europe $ olson offsets -ICST # what does CST mean? -06 -05 +08 +09:30 +10:30 $

Re: Olson querying

2012-03-05 Thread Rick Measham
Nice utility. I wouldn't mind something like this too: $ olson time 13:48 # where is it currently 13:44? $ olson time 13:48 -Cau # where in Australia is it currently 13:44 Australia/Currie Australia/Hobart Australia/Lindeman Australia/Melbourne

Olson querying

2012-03-04 Thread Zefram
As part of the plan for replacing DT:TZ, we discussed the need for a way to list the available timezones, to replace the static DT:TZ:Catalog document. Attached is a prototype of a command-line tool that could take this role. I'd appreciate comments about its current operation and about what it

Re: Olson querying

2012-03-04 Thread Dave Rolsky
On Sun, 4 Mar 2012, Zefram wrote: As part of the plan for replacing DT:TZ, we discussed the need for a way to list the available timezones, to replace the static DT:TZ:Catalog document. Attached is a prototype of a command-line tool that could take this role. I'd appreciate comments about its