Re: Timezone lookup?

2009-08-06 Thread Yitzchak Scott-Thoennes
On Thu, August 6, 2009 7:42 am, Ted Byers wrote: Isn't it odd that, in the Asia data, there are values for Gaza and Jerusalem, which are only a short distance apart (in terms of how far a crow would have to fly to travel between them, not politically), or more odd, Kuala Lumpur and Singapore

Re: Timezone lookup?

2009-08-05 Thread Yitzchak Scott-Thoennes
On Wed, August 5, 2009 12:52 pm, Ted Byers wrote: Is there, in the various timezone packages, support somewhere for finding out what the timezone is for a given city/state? I have, in my database, extensive data with the usual contact information from users from around the world. If at all

Re: Item #1 returned by STORABLE_freeze for DateTime is not a reference

2009-07-13 Thread Yitzchak Scott-Thoennes
On Mon, July 13, 2009 6:13 pm, Bill Moseley wrote: (in cleanup) Item #1 returned by STORABLE_freeze for DateTime is not a reference at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_freeze.al) line 339 during global destruction, at line 327 It's expected that this

Re: DateTime::Lite

2008-11-23 Thread Yitzchak Scott-Thoennes
On Sat, November 22, 2008 12:50 am, Daisuke Maki wrote: So I have this requirement to make DateTime leaner, in terms of speed, load time, and the amount of memory consumed. The target is for casual users, so the use of XS code is not an option either. In terms of speed, one of the things

Re: DateTime::Lite

2008-11-23 Thread Yitzchak Scott-Thoennes
On Sat, November 22, 2008 2:26 am, Daisuke Maki wrote: oops, forgot the SVN url http://svn.coderepos.org/share/lang/perl/DateTime-Lite/trunk Could we have a working tarball, please? I gave up after a very brief attempt to install and use Module::Install.

Re: DateTime::Lite

2008-11-23 Thread Yitzchak Scott-Thoennes
On Sun, November 23, 2008 9:09 pm, Daisuke Maki wrote: http://users.endeworks.jp/~daisuke/DateTime-Lite-0.1.tar.gz As noted before, the timezone/locale stuff are not fully portable yet, so you need to be in the distro's root directory for DateTime::Lite to be usable. Nice. 38% faster

Re: missing something..part 2

2007-01-25 Thread Yitzchak Scott-Thoennes
Zefram wrote: Matthew wrote: Hehe. I'm the DBA. And I've updated everything to most recent stuff, but the boss man wants generic time zones in our list just in case a customer can't find his or doesn't realize his city is listed differently. Unlikely to ever occur. As far as anyone

Re: Daylight Saving

2006-02-12 Thread Yitzchak Scott-Thoennes
On Thu, Feb 09, 2006 at 12:05:42PM -0800, Bill Moseley wrote: On Fri, Jan 20, 2006 at 07:26:16AM -0800, Bill Moseley wrote: I have a zipcode table that lists the city, state, timezone offset (eg -5) and a flag indicating if the location uses daylight saving time for U.S. zipcodes. I don't

Re: Daylight Saving

2006-01-21 Thread Yitzchak Scott-Thoennes
On Sat, Jan 21, 2006 at 01:20:09PM -0600, Dave Rolsky wrote: On Fri, 20 Jan 2006, Yitzchak Scott-Thoennes wrote: Just use the Olson PST8PDT MST7MDT MST CST6CDT EST5EDT EST zones. I assume there aren't PST and CST zones because they aren't actually in use

Re: Daylight Saving

2006-01-20 Thread Yitzchak Scott-Thoennes
On Fri, Jan 20, 2006 at 10:59:50AM -0500, Garrett, Philip (MAN-Corporate) wrote: -Original Message- From: Bill Moseley [mailto:[EMAIL PROTECTED] Sent: Friday, January 20, 2006 10:26 AM To: datetime@perl.org Subject: Daylight Saving I have a zipcode table that lists the

Re: DateTime performance

2006-01-18 Thread Yitzchak Scott-Thoennes
On Mon, Jan 16, 2006 at 06:21:54PM -0800, [EMAIL PROTECTED] wrote: One might hope that a script like this: test3 #!/usr/bin/perl BEGIN { no lib qw|/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi /usr/ lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/

Re: DateTime performance

2006-01-18 Thread Yitzchak Scott-Thoennes
On Wed, Jan 18, 2006 at 08:38:13AM -0800, [EMAIL PROTECTED] wrote: Then no lib isn't doing what you want. Agree. But, that is the point. Outside of recompiling perl with new paths or significantly altering DateTime to use far fewer dependancies nothing can really be done. test4

Re: hires DateTime-from_epoch( epoch = ... ) values

2005-08-08 Thread Yitzchak Scott-Thoennes
On Mon, Aug 08, 2005 at 09:31:10AM -0500, Dave Rolsky wrote: On Mon, 25 Jul 2005, Joshua Hoblitt wrote: a) do nothing... nobody else seems to have noticed b) document the limited precision issue c) change the API to some awful Fortranish a part + b part to preserve precision d) turn the

FYI: new leap second on its way

2005-07-04 Thread Yitzchak Scott-Thoennes
- Forwarded message from [EMAIL PROTECTED] - INTERNATIONAL EARTH ROTATION AND REFERENCE SYSTEMS SERVICE (IERS) SERVICE INTERNATIONAL DE LA ROTATION TERRESTRE ET DES SYSTEMES DE REFERENCE SERVICE DE LA ROTATION TERRESTRE OBSERVATOIRE DE PARIS 61,

Re: ANNOUNCE: DateTime 0.28

2005-02-28 Thread Yitzchak Scott-Thoennes
On Sun, Feb 27, 2005 at 11:58:22PM -0600, Dave Rolsky wrote: 0.282005-02-27 [ ENHANCEMENTS ] - The era names for the era() method are now retrieved from the DateTime.pm object's associated locale. The old era() method, which was hard-coded to use BCE and CE, is renamed secular_era().

Re: Bug: DT::Event::Recurrence Modifies Params

2005-01-19 Thread Yitzchak Scott-Thoennes
On Wed, Jan 19, 2005 at 04:59:33PM +, [EMAIL PROTECTED] wrote: Daisuke wrote: +sub _sort_positive_first +{ +my @sorted = sort { $a = $b } @_; +# put positive values first +my @ret = grep { $_ = 0 } @sorted; +push @ret, $_ for grep { $_ 0 } @sorted; + +

Re: Bug: DT::Event::Recurrence Modifies Params

2005-01-12 Thread Yitzchak Scott-Thoennes
On Sat, Jan 08, 2005 at 09:56:38AM +0900, Daisuke Maki wrote: +sub _sort_positive_first +{ +my @sorted = sort { $a = $b } @_; +# put positive values first +my @ret = grep { $_ = 0 } @sorted; +push @ret, $_ for grep { $_ 0 } @sorted; push takes a list; make that push

Re: DateTime::Duration 'in_units' does not properly normalize units

2004-12-13 Thread Yitzchak Scott-Thoennes
On Mon, Dec 13, 2004 at 07:04:23PM -0600, Dave Rolsky [EMAIL PROTECTED] wrote: On Mon, 13 Dec 2004, Dave Rolsky wrote: How can that be sane? So you ask for minutes and you get fractional minutes but you ask for seconds and get zero? Cause really it should just blow up when you give it

Re: DateTime::Duration 'in_units' does not properly normalize units

2004-12-13 Thread Yitzchak Scott-Thoennes
On Mon, Dec 13, 2004 at 06:14:12PM -0800, Yitzchak Scott-Thoennes [EMAIL PROTECTED] wrote: On Mon, Dec 13, 2004 at 07:04:23PM -0600, Dave Rolsky [EMAIL PROTECTED] wrote: On Mon, 13 Dec 2004, Dave Rolsky wrote: How can that be sane? So you ask for minutes and you get fractional minutes

Re: Activestate PPMs for DateTime?

2004-11-02 Thread Yitzchak Scott-Thoennes
On Tue, Nov 02, 2004 at 10:48:19AM -0600, Dave Rolsky wrote: Clearly the easiest for AS is to simple install Module::Build and its dependencies before trying to build PPMs. Agreed. But IIRC it has no non-core dependencies. What's the way forward in all this? I don't know. I do know that

Re: What is the current state of installing DateTime?

2004-08-17 Thread Yitzchak Scott-Thoennes
On Mon, Aug 16, 2004 at 09:34:16PM -0700, Ron Pero [EMAIL PROTECTED] wrote: I will ask ActiveState about a better version of the DateTime module for their repository. You can look at what their automated build came up with at: http://ppm.activestate.com/BuildStatus/5.8-D.html (5.8 builds for

Re: What is the current state of installing DateTime?

2004-08-17 Thread Yitzchak Scott-Thoennes
On Tue, Aug 17, 2004 at 03:56:07AM -0500, Dave Rolsky [EMAIL PROTECTED] wrote: On Tue, 17 Aug 2004, Yitzchak Scott-Thoennes wrote: and DateTime-Locale fails because it uses a passthrough Makefile.PL that requires user interaction to download Module::Build. (Activestate's build process

Re: question on DST

2004-08-08 Thread Yitzchak Scott-Thoennes
On Fri, Aug 06, 2004 at 08:22:20PM +0700, David Garamond [EMAIL PROTECTED] wrote: I live in a country (and continent) that doesn't observe DST and thus am wondering: I can't help but wonder what continent that is; AFAIK every continent except perhaps Antarctica uses DST somewhere. 1. is DST

Re: Windows PPM release of DateTime?

2004-04-14 Thread Yitzchak Scott-Thoennes
On Wed, Apr 14, 2004 at 06:55:26AM +0200, Christian Hansen [EMAIL PROTECTED] wrote: Robert Eden wrote: Has there been any progress on a windows PPM release? (or fixing whatever problem the automated tool has) It seems that ActiveStates build tool fails on DateTime::Locale [1] and since

Re: Latitude/Longitude to Olson timezone name

2004-03-28 Thread Yitzchak Scott-Thoennes
On Fri, Mar 26, 2004 at 12:51:20AM -0600, Ed Perrone [EMAIL PROTECTED] wrote: I am working on an application where the user will input a date, time, and location, and I will need to convert that time into the equivalent GMT. This means I will need to locate the input data within one of the

Re: Latitude/Longitude to Olson timezone name

2004-03-28 Thread Yitzchak Scott-Thoennes
On Sun, Mar 28, 2004 at 04:32:43PM +0200, Eugene van der Pijll [EMAIL PROTECTED] wrote: Yitzchak Scott-Thoennes wrote: You could go through the comments in the Olson files; they will say where the timezones apply, and you should be able to come up with a pretty good state/nation-timezone

Re: patch to DT::F::Builder

2004-02-01 Thread Yitzchak Scott-Thoennes
On Thu, Jan 29, 2004 at 04:41:41PM -0800, Daisuke Maki [EMAIL PROTECTED] wrote: It was really annoying me that parsers based on DT::F::Builder would by default report a parse failure as being in DT::F::B::Parser. I'd like the error message to tell me where in the calling script it failed,

Re: patch to DT::F::Builder

2004-02-01 Thread Yitzchak Scott-Thoennes
On Fri, Jan 30, 2004 at 12:18:51AM -0600, Dave Rolsky [EMAIL PROTECTED] wrote: On Thu, 29 Jan 2004, Daisuke Maki wrote: Can't this be done with the @CARP_NOT variable? Hmmm, I was trying to do this: sub on_fail { my($class, $input) = @_; local @Carp::CARP_NOT = qw(

Re: DateTime::TimeZone problems on FreeBSD

2003-12-05 Thread Yitzchak Scott-Thoennes
On Thu, Dec 04, 2003 at 09:00:54PM +0100, Anton Berezin [EMAIL PROTECTED] wrote: For example, EST is used for Eastern Standard Time, aka America/New_York, but also for parts of Australia. Even EST in the US is ambiguous, because it's also used for America/Indianapolis, a time zone that

Re: solar_longitude_after or modulo question

2003-10-24 Thread Yitzchak Scott-Thoennes
On Thu, 23 Oct 2003, Daisuke Maki wrote: Okay, I feel stupid asking this, but I have a question about a basic function, mod. My ported computations from CC become all wrong if I use Perl's built-in % operator. After a few trial and errors, it seemed like when CC mentions R = N mod M

Re: New Release: DateTime::Calendar::Hebrew

2003-09-24 Thread Yitzchak Scott-Thoennes
On Tue, Sep 23, 2003 at 05:04:22PM -0400, Steven J. Weinberger [EMAIL PROTECTED] wrote: Just in time for the Hebrew new year (5764, this Friday evening) - DateTime-Calendar-Hebrew-0.01.tar.gz has just been uploaded to PAUSE. Enjoy. In README.hebrew you mention: Understanding the Jewish

Re: infinity stringification bug in Perl 5.9.0?

2003-09-04 Thread Yitzchak Scott-Thoennes
On Wed, Sep 03, 2003 at 11:23:44PM +, [EMAIL PROTECTED] wrote: I've got a report that Perl 5.9.0 stringifies infinity and minus infinity with extra spaces, like this: -Inf Inf Is this a bug? Works correctly for me. What do perl -V and perl -V:d_Gconvert

Re: DateTime::Duration, length of a month?

2003-04-05 Thread Yitzchak Scott-Thoennes
On Sat, 5 Apr 2003 12:05:15 +0200, [EMAIL PROTECTED] wrote: Joshua Hoblitt schreef: When converting a DateTime::Duration month to days - how many days should it be considering equivalent too? 30? 30.4? 31? If you want to do this, you have to take into account that a duration of $x years is

Re: DateTime bug default timezone

2003-03-14 Thread Yitzchak Scott-Thoennes
On Tue, 11 Mar 2003 10:46:32 -0800, [EMAIL PROTECTED] wrote: On Monday, March 10, 2003, at 07:10 PM, Dave Rolsky wrote: On Sat, 1 Mar 2003, Bruce Van Allen wrote: I agree with these thoughts and principles, but thinking of months as discrete units also has complications, as you say, with weird

Re: ANNOUNCE: DateTime.pm and DateTime::TimeZone 0.01_00

2003-02-05 Thread Yitzchak Scott-Thoennes
On Wed, 5 Feb 2003 15:52:46 -0600 (CST), [EMAIL PROTECTED] wrote: The DateTime tests do not fully exercise DateTime::TimeZone (nor would you expect them to). So, how about including only those portions of DT::TZ which are required to pass the DT tests. At a quick glance, that would be

Re: CVS activity

2003-01-20 Thread Yitzchak Scott-Thoennes
On Fri, 17 Jan 2003 03:44:34 -0600 (CST), [EMAIL PROTECTED] wrote: Not that most people can see it with anonymous and web CVS down on SF, but there's been some activity lately. First, I checked in the first stab at DateTime::Formats::ICal, as well as removing all the ICal stuff from the

Re: timezones

2003-01-13 Thread Yitzchak Scott-Thoennes
On Mon, 13 Jan 2003 13:55:17 -0600 (CST), [EMAIL PROTECTED] wrote: So, this sounds like something very high level, which shouldn't be considered part of the base object. But.. it is needed for really low-level operations, like -add(). For example: 19700328T233000 + 4 hours = ?? You'd think

Picking up the ball...or reinventing the wheel?

2003-01-12 Thread Yitzchak Scott-Thoennes
I need to find more time to read through the flood of messages...but wanted to mention right away that things look to be going astray. Apologies if it is not so. What's the goal here? If it is creating a base class for date/time modules to standardize on, that won't work. I don't think the

Re: Date::ICal's pseudo-mjd versus real MJD - Rich?

2003-01-12 Thread Yitzchak Scott-Thoennes
On Sat, 11 Jan 2003 16:44:37 -0500 (EST), [EMAIL PROTECTED] wrote: On Sat, 11 Jan 2003, Dave Rolsky wrote: You know, on reflection, I don't think the internals matter _at all_ (well, they need to work, but you already took care of that ;) What matters is that we can return a _standard_ value

Re: Date::Leapsecond

2002-05-29 Thread Yitzchak Scott-Thoennes
In article [EMAIL PROTECTED], fglock [EMAIL PROTECTED] wrote: SYNOPSIS use Date::Leapsecond; use Time::Local; $epoch_2000 = timegm(0,0,0,1,0,2000 - 1900); $epoch_1990 = timegm(0,0,0,1,0,1990 - 1900); print Seconds between years 1990 and 2000 are ; print

Re: alpha/beta $VERSION's

2002-04-18 Thread Yitzchak Scott-Thoennes
In article [EMAIL PROTECTED], Elaine -HFB- Ashton [EMAIL PROTECTED] wrote: Yitzchak Scott-Thoennes [[EMAIL PROTECTED]] quoth: * *I thought the alpha/beta distinction was only relevant when there was a *earlier GA release (so CPAN.pm doesn't upgrade 1.01 to 1.01_01 or some *such.) Nevertheless