Re: Timezone Problem

2007-05-10 Thread John Peacock
-- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748

Best practices - DateTime vs Database question

2006-01-17 Thread John Peacock
interested in events scheduled for a specific date (time is not necessarily important)? The most common operation on a date for this purpose is how many weeks until event X so I can display the next week's events or send out scheduling e-mails prior to events. Thoughts? John -- John Peacock

Re: Best practices - DateTime vs Database question

2006-01-17 Thread John Peacock
to this project. John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748

Re: DateTime::TimeZone in XS is ready in CVS

2005-07-09 Thread John Peacock
suggest renaming util.[ch] to something unique. HTH John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747

Re: DateTime.pm on a Diet

2005-07-07 Thread John Peacock
where the performance issues really are. John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747

Re: DateTime.pm on a Diet

2005-07-06 Thread John Peacock
needed. John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747

Re: Rethinking date math, time zones, etc for Perl 6 (and maybe DateTime2?)

2005-06-15 Thread John Peacock
term). This would allow reduced precision date math to happen naturally. John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748

Re: DateTime marches on

2005-02-28 Thread John Peacock
to see you came to your senses... ;-) John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747

Re: Need help from Windows folks for Time::Local

2005-01-07 Thread John Peacock
EOF at -e line 1. ;) Sorry, I know that's not what you wanted to know: c:\perl -le @t = gmtime(-1); print grep {defined} @t ? \[EMAIL PROTECTED] : \undef\n\ undef HTH John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4501 Forbes Boulevard Suite

Re: Activestate PPMs for DateTime?

2004-11-02 Thread John Peacock
to correctly bail out. :( John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748

Re: What is the current state of installing DateTime?

2004-08-16 Thread John Peacock
if there is any problem whatsoever, in any dependency, they don't always go back and see what was the problem. John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747

Re: Ambiguous years (what does 03 mean?)

2003-07-15 Thread John Peacock
/foldoc.cgi?query=gigoaction=Search -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748

Re: Ambiguous years (what does 03 mean?)

2003-07-15 Thread John Peacock
the CENTURY be a dropdown list with 19, 20, 21, etc. will assist the user to no end in actually entering the proper information. John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010

Re: Ambiguous years (what does 03 mean?)

2003-07-15 Thread John Peacock
://www.dmi.uiuc.edu/y2k/window.htm for a way to handle moving windows. The two digit year format is so pernicious that it demands a warning in pretty much all cases, and an error in any situation where the data is important. John -- John Peacock Director of Information Research and Technology

Re: DateTime parse(), parser()

2003-07-14 Thread John Peacock
would dispatch to the DT::F::something modules. That way, nothing needs to be added to the DateTime class itself, if you never need parsing. John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706

Re: Natural Language DateTimes

2003-07-13 Thread John Peacock
as twelve fifteen except verbally. I'll be very interested in seeing your module... John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747

Re: [PLUG] Re: Slides from YAPC presentation

2003-07-01 Thread John Peacock
this link on the P5P list) -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748

Re: Slides from YAPC presentation

2003-06-30 Thread John Peacock
if the Marriot's Rooms that Work includes a network connection? John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747

Re: Slides from YAPC presentation

2003-06-20 Thread John Peacock
for http://www.lxgmovie.com/ which opens Friday night? Is there a decent movie theatre downtown? John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747

Re: Getting different results from DateTime and Manip for epoch time

2003-06-19 Thread John Peacock
in Perl6, but I don't think that has been settled yet. John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748

Re: Getting different results from DateTime and Manip for epoch time

2003-06-19 Thread John Peacock
; for ( result = 78796799; result =78796801; result++) { printf(%s, asctime(gmtime(result))); } return(0); } yields $ ./test Fri Jun 30 23:59:59 1972 Sat Jul 1 00:00:00 1972 Sat Jul 1 00:00:01 1972 which is the same output as Perl. John -- John Peacock Director

Re: Win32 failures in t/20infinite.t

2003-06-13 Thread John Peacock
Dave Rolsky wrote: Ok, I applied this. Does this mean all tests pass on Win32 now? I don't know; I'm at home (Linux only, thanks) and not at work. I'll get the latest CVS and double check on Monday. Is that soon enough? John -- John Peacock Director of Information Research and Technology

DateTime 0.12CVS - Success from Cygwin, still failing under VC++

2003-06-05 Thread John Peacock
of whole cloth for the poor souls running Win32??? I guess that could be included in Time::Local... I'll move on to the t\20infinite.t failures next. John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD

Re: DateTime 0.12CVS - Success from Cygwin, still failing under V C++

2003-06-05 Thread John Peacock
Hill, Ronald wrote: fails horrably on windows :( I posted this on CLPM maybe someone has something on this. It's even documented that way now in bleadperl: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2003-05/msg00495.html :~( John -- John Peacock Director of Information Research

Re: DateTime 0.12CVS - Success from Cygwin, still failing under VC++

2003-06-05 Thread John Peacock
John Peacock wrote: Hill, Ronald wrote: fails horrably on windows :( I posted this on CLPM maybe someone has something on this. It's even documented that way now in bleadperl: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2003-05/msg00495.html And to follow up on that, it appears

Re: installing DateTime-TimeZone-0.17 on HPUX 10.20... or Cygwin

2003-06-03 Thread John Peacock
instead of 1 32k line? Having to require a specific make/gmake is really not a good plan. It should be very unusual to require some different helper utility like 'gmake' to build an extension to Perl when that resident 'make' can build Perl itself. John -- John Peacock Director of Information

Re: DateTime Development Standards - Another Suggestion?

2003-03-22 Thread John Peacock
; $VERSION = new version qw$Revision: 1.9 $; which sadly doesn't help me that much since I am moving to Subversion myself... HTH John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax

Re: DateTime Development Standards - Another Suggestion?

2003-03-22 Thread John Peacock
999 subversions (and it handles branches just fine). John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747

Re: DateTime-Set.pm

2003-03-13 Thread John Peacock
or not? I think that the truncation should be the highest granularity _preserved_, i.e. 'month' should drop the days and time, and truncate(to='year') should drop everything except the year. John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing

Re: date math and local times

2003-03-11 Thread John Peacock
-12-31 23:59:60 UTC, since there isn't a leap hour yet (until the moon rockets out of orbit in 1999, anyways ;~)... I would argue that the correct answer should be 1999-01-02 00:00:00 UTC. Add the requested period and then normalize if appropriate. John -- John Peacock Director of Information

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

2003-02-05 Thread John Peacock
updated. ;~) The idea is empower the user to update their own d**n data files and keep the CPAN distro as small/simple as possible. John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459

Re: DateTime::TimeZone 0.01_00

2003-02-04 Thread John Peacock
'); -} +use_ok('DateTime::TimeZone'); since you cannot have the use_ok() wrapped in a BEGIN (since Test::More won't be loaded yet). -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747

Re: Working time zone code!

2003-01-31 Thread John Peacock
::TimeZone... John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747

Re: Changing time zones?

2003-01-30 Thread John Peacock
@ 8pm $dt-set( time_zone = 'America/Denver' ); # Boulder, CO @ 6pm It's an operation, not just a flag. IMNSHO ;~) John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747

Re: Working time zone code!

2003-01-30 Thread John Peacock
) # Tried to use 'DateTime::TimeZone'. # Error: Can't locate DateTime/TimeZoneCatalog.pm in @INC Did you forget to add this file to the CVS repository??? John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4720 Boston Way Lanham, MD

Re: Grand Unified Theory of Date/Time modules

2003-01-28 Thread John Peacock
Dave Rolsky wrote: Well, an XS implementation is quite likely to beat pure Perl, even if you used RD days as well. Don't tell anyone, but my first pass will be pure Perl, since I am still pretty much an XS newbie... John -- John Peacock Director of Information Research and Technology Rowman

Re: Grand Unified Theory of Date/Time modules

2003-01-28 Thread John Peacock
to think about low and high level concerns at the same time. Hey! I thought you were doing all of the high level thinking here! duck John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax

Re: Grand Unified Theory of Date/Time modules

2003-01-27 Thread John Peacock
to other formats (my preferred method). Those are going to be the exceptional cases. The general case is someone who wants to calculate hours between something, days until my birthday, years since Lincoln died. John -- John Peacock Director of Information Research and Technology Rowman Littlefield

Re: Parser/Backend API proposals

2003-01-17 Thread John Peacock
of other methods in DateTime.pm it'd be pointless to override as well, along these same lines. No question. Any implemention class will inherit all of the derivable methods and only implement/override the minority of primitive methods (like $obj-year for example). John -- John Peacock

Re: Calendrical Calculations and licensing

2003-01-15 Thread John Peacock
, but may be patentable if it applies the algorithm to accomplish a specific technical purpose. All of these patents may be bogus and could be overturned by a court; nonetheless, it is technically legal to patent algorithms under some circumstances in the U.S. Other countries vary... John -- John

Re: Parser Interface (Was Re: Picking up the ball)

2003-01-14 Thread John Peacock
. This is a much more friendly interface for the average programmer. John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747

Re: Picking up the ball

2003-01-10 Thread John Peacock
it DWIM. Good luck! John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747

Re: Date::Calc week number calculation

2002-12-10 Thread John Peacock
John Peacock wrote: since the first Thusday in January is Jan 2, 2003, that is Week 1 (and hence Date::Calc is wrong). Note also the last line of that answer (that this numbering is not used in the US). Sorry, I read your description the wrong way round; Date::Calc is correct (sorry Steffen

Re: Proposed CPAN submission - Time::RateLimit

2002-05-28 Thread John Peacock
deal with namespace polution complaints. John -- John Peacock Director of Information Research and Technology Rowman Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747