Once and future dates/times

2001-08-24 Thread Jonathan Scott Duff
namespace and its purpose d) ignored because the Perl community says that the DateTime namespace is the One True Calendrical Namespace or e) none of the above. -Scott -- Jonathan Scott Duff [EMAIL PROTECTED]

Re: Parsing/Formatting API

2003-01-14 Thread Jonathan Scott Duff
ents. I fully accept that you are the driver here and you > will win the argument if it comes down to it. Hey, I know! Let's fork and take the TimeDate namespace to make a superficially similar but completely different set of date/time routines. ;-) * 5 -Scott -- Jonathan Scott Duff [EMAIL PROTECTED]

Re: Parsing/Formatting API

2003-01-15 Thread Jonathan Scott Duff
formatter $str0 = DateTime::formatdate($format); # use the $dto object's formatter $str1 = $dto->formatdate($format); # format the $dto object using the CustomFormat $str2 = $dto->formatdate($format, { formatter => CustomFormat } ); -Scott -- Jonathan Scott Duff [EMAIL PROTECTED]

Re: Alternative strftime

2003-01-15 Thread Jonathan Scott Duff
7;t see why we can't have a strftime() formatter. People are used to it and there are gobs of code that use it. Besides, if we come up with a like-strftime-but-better formatter and start using it, eventually people will see its merits and choose it over the strftime formatter. -Scott -- Jonathan Scott Duff [EMAIL PROTECTED]

Re: Calendrical Calculations and licensing

2003-01-15 Thread Jonathan Scott Duff
It doesn't hurt to ask and if they refuse, then we just continue ignoring the book for implementation advice. -Scott -- Jonathan Scott Duff [EMAIL PROTECTED]

Re: DateTime::Set API

2003-01-15 Thread Jonathan Scott Duff
erator determines what gets passed to the generator? If it's generating backwards in time it would be given the lowest date? -Scott -- Jonathan Scott Duff [EMAIL PROTECTED]

Re: Parsing/Formatting API

2003-01-16 Thread Jonathan Scott Duff
Ok, how about this then: > > my $format = DateTime::Formats::MySQL->new( ... ); > > my $dt = $format->parse_datetime( $mysql_dt ); > > $format->as_timestamp( datetime => $dt, length => 8 ); my $f = DateTime::Formats::Mysql->new(...); my $dt = DateT

Re: Parameters outside proper boundaries

2003-02-04 Thread Jonathan Scott Duff
On Wed, Feb 05, 2003 at 11:27:58AM +1100, Rick Measham wrote: > Now, if I'm not the only one that wants this I'm very happy to volunteer > writing a patch for this. Just so you know ... you're not the only one. :-) -Scott -- Jonathan Scott Duff [EMAIL PROTECTED]

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

2003-02-05 Thread Jonathan Scott Duff
kage isn't installed, though. I haven't looked at the code yet, but would it be useful to ask the user what their offset is from GMT, then create a dummy TZ from that offset for testing purposes? -Scott -- Jonathan Scott Duff [EMAIL PROTECTED]