FAQ

Search Discussions

62 discussions - 255 posts

  • Actually, this _is_ what it does now, but it's not documented, so that shouldn't be relied upon. I'm not entirely sure that simply accepting _any_ number makes for a good API, however. I suspect that ...
    Dave RolskyDave Rolsky
    Feb 5, 2003 at 6:15 am
    Feb 7, 2003 at 1:02 am
  • That's what Calendrical Calculations says. I'm wrong, they're right. It'll be fixed in the next release ;) -dave /*======================= House Absolute Consulting www.houseabsolute.com ...
    Dave RolskyDave Rolsky
    Feb 14, 2003 at 1:28 am
    Feb 27, 2003 at 11:40 am
  • Why no year 0 in DateTime? I was surprised to see the following in the synopsis: $year = $dt- year; # there is no year 0 The ISO8601 range is [0000,9999], thus including year 0. The standard even ...
    Peter J. AcklamPeter J. Acklam
    Feb 12, 2003 at 8:00 am
    Feb 15, 2003 at 5:59 pm
  • I have written a module for the Julian calendar, and while testing it I found a "design feature" which cost me some hours of debugging... consider the following conversion: use DateTime; $d = ...
    Eugene van der PijllEugene van der Pijll
    Feb 26, 2003 at 1:05 am
    Mar 14, 2003 at 5:23 pm
  • I've started reimplementing some of the core math in XS. If people want to review the C code and tell me how it sucks, that'd be cool ;) -dave /*======================= House Absolute Consulting ...
    Dave RolskyDave Rolsky
    Feb 14, 2003 at 5:49 pm
    Feb 25, 2003 at 10:19 pm
  • Playing with some xml::rss code today for supporting rss 1.0 modules mod_event, and mod_syndication so I wrote DateTime::Format::W3CDTF Writing the module was simple, most of the logic is lifted ...
    KellanKellan
    Feb 19, 2003 at 12:44 am
    Feb 20, 2003 at 9:27 am
  • Hey Everyone! A while back Dave asked us about timezones and should setting a timezone move the internal representation or the external. We all agreed on the external. Mainly because we couldn't ...
    Rick MeashamRick Measham
    Feb 7, 2003 at 3:02 am
    Feb 7, 2003 at 11:11 pm
  • This won't work: # convert Julian- Gregorian... $dtgreg = DateTime- from_object( $dt ); It needs to be: $dtgreg = DateTime- from_object( object = $dt ); Since it inherits this method from ...
    Dave RolskyDave Rolsky
    Feb 28, 2003 at 4:52 am
    Feb 28, 2003 at 7:17 am
  • KellanKellan
    Feb 13, 2003 at 6:52 am
    Feb 14, 2003 at 1:16 am
  • Hi All, This is to announce a new release of Astro::Sunrise perl module. This is a complete rewrite of the module/added new functionality. Enjoy!! Ron Hill NAME Astro::Sunrise - Perl extension for ...
    Hill, RonaldHill, Ronald
    Feb 6, 2003 at 2:10 pm
    Feb 11, 2003 at 6:13 pm
  • Just a heads up to people interested in a Metric module: I'm working on one. I figure its best to let people know so we aren't all working on the same modules :) If you've interest in Metric.pm from ...
    Rick MeashamRick Measham
    Feb 26, 2003 at 10:18 pm
    Feb 27, 2003 at 12:07 am
  • Eric Cholet reported a weird "bus error" when running the DateTime::TimeZone tests on OS X with Perl 5.6.0. I suspect it's the fact that 5.6.0 is a giant piece of poop, but just to make sure it'd be ...
    Dave RolskyDave Rolsky
    Feb 23, 2003 at 3:08 am
    Feb 24, 2003 at 3:44 pm
  • From profiling, I think the single biggest speed up that could be done for DateTime, when using an Olson DB timezone, would be to implement Tree::RedBlack in XS. Even better would be to implement a ...
    Dave RolskyDave Rolsky
    Feb 15, 2003 at 8:19 am
    Feb 15, 2003 at 11:14 pm
  • print scalar(localtime), "\n", scalar(gmtime), "\n"; $date = DateTime- now; print "$date\n"; $date- set_time_zone('local'); print "$date\n"; Sat Feb 22 20:37:52 2003 Sat, 22 Feb 2003 19:37:52 UTC Sat ...
    Eric CholetEric Cholet
    Feb 22, 2003 at 7:46 pm
    Feb 22, 2003 at 10:39 pm
  • I want to use the DateTime language stuff, mainly so that I can use DateTime's strftime instead of my own cooked up one, but I find it difficult to integrate with my applications because of the non ...
    Eric CholetEric Cholet
    Feb 13, 2003 at 4:39 pm
    Feb 14, 2003 at 9:40 pm
  • 0.07 [IMPROVEMENTS] - Added a small hack to the compare() method so that this module can be used with Set::Infinite. - Changed compare so that it can be used to compare two objects from different ...
    Dave RolskyDave Rolsky
    Feb 27, 2003 at 5:11 am
    Feb 27, 2003 at 8:09 pm
  • About moving perl-date-time to CPAN: The modules will be published by their authors or by the project administrators? I suggest making a Bundle too. - Flávio S. Glock ------------------------------ ...
    FglockFglock
    Feb 27, 2003 at 1:54 pm
    Feb 27, 2003 at 6:38 pm
  • NAME DateTime::Format::Baby - Parse and format baby-style time SYNOPSIS use DateTime::Format::Baby; my $Baby = DateTime::Format::Baby- new('en'); my $dt = $Baby- parse_datetime('The big hand is on ...
    Rick MeashamRick Measham
    Feb 25, 2003 at 8:50 pm
    Feb 25, 2003 at 9:51 pm
  • When I 'make': [makes directories and copies file around, then:] /usr/bin/perl -I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 /usr/libdata/perl/5.00503/ExtUtils/xsubpp -typemap ...
    Rick MeashamRick Measham
    Feb 18, 2003 at 10:53 pm
    Feb 19, 2003 at 12:41 am
  • Since DateTime aims at cleaning up the module mess related to time, wouldn't it be a good thing to avoid using Date:: and Time:: modules altogether? Particularely in this case, I really don't see the ...
    Peter J. AcklamPeter J. Acklam
    Feb 17, 2003 at 3:21 pm
    Feb 17, 2003 at 6:24 pm
  • When I try to run DateTime on my mac I can't access Class::Factory::Util # Can't locate Class/Factory/Util.pm in @INC (@INC contains:..... I've searched CPAN for the above module but can only find ...
    Rick MeashamRick Measham
    Feb 10, 2003 at 3:35 am
    Feb 10, 2003 at 4:52 am
  • Using DateTime's subtract_datetime() to compute 2003/02/09 13:21:28 - 1994/12/16 00:01:00, I get a negative result. - delta_days = -2978 I traced it to the value of utc_rd_secs: 2003/02/09 13:21:28: ...
    Eric CholetEric Cholet
    Feb 9, 2003 at 1:44 pm
    Feb 9, 2003 at 5:27 pm
  • If I have a datetime object with a floating time zone and then I set the time zone to some non-floating zone, I shouldn't change the local time, right? -dave /*======================= House Absolute ...
    Dave RolskyDave Rolsky
    Feb 2, 2003 at 10:42 pm
    Feb 2, 2003 at 11:33 pm
  • This hostname now exists and I can put stuff on it, including dynamic content (with mod_perl and preferable, Mason). Submissions for content are welcome. Some things I'd like to put up there: - info ...
    Dave RolskyDave Rolsky
    Feb 2, 2003 at 7:01 am
    Feb 2, 2003 at 10:16 pm
  • This is to announce a new version of Astro::Sunrise. This version replaces the dependency on Time::Object to Time::Piece. NAME Astro::Sunrise - Perl extension for computing the sunrise/sunset on a ...
    Hill, RonaldHill, Ronald
    Feb 27, 2003 at 3:33 pm
    Aug 7, 2003 at 5:20 am
  • I made a new version of DateTime::Set, that fits better within DateTime guidelines: http://www.ipct.pucrs.br/flavio/perl/DateTime-Set-0.00_03.tar.gz Is it ok to commit this to modules/DateTime-Set ? ...
    FglockFglock
    Feb 26, 2003 at 6:22 pm
    Feb 26, 2003 at 7:47 pm
  • This is a patch that would allow to have DateTime objects into Set::Infinite sets. Reason: Set::Infinite uses the Infinity value to represent "forever", and it requires that a set element must be ...
    FglockFglock
    Feb 26, 2003 at 11:51 am
    Feb 26, 2003 at 12:43 pm
  • G'day Dave and Others, Is there a design worked out for DateTime::Calendar? There's a few calendars I'd like to start looking at but I want to get the design for the module first. Cheers! Rick -- ...
    Rick MeashamRick Measham
    Feb 23, 2003 at 12:55 am
    Feb 23, 2003 at 3:04 am
  • The DateTime synopsis says $second = $dt- second; # 0-60 (leap seconds!) but The Single UNIX ® Specification, Version 2, says int tm_sec seconds [0,61] to allow double leap seconds. See ...
    Peter J. AcklamPeter J. Acklam
    Feb 20, 2003 at 12:52 pm
    Feb 20, 2003 at 5:44 pm
  • First, on both Solaris 2.6 (Ultra-2) and FreeBSD 4.6.2 (P2-233) under perl 5.6.1, DateTime::TimeZone fails make test with: t/01load.....ok t/02basic....ok 1468/1478Can't locate object method ...
    Stephen R. WilcoxonStephen R. Wilcoxon
    Feb 19, 2003 at 10:35 pm
    Feb 19, 2003 at 10:43 pm
  • Hi All, Testing DateTime-0.06 I receive an out of memory error. It stops at 05tz test 24 this is where I receive the error. CPU util is 100% memory usage is 2.0 gig Ron Hill ...
    Hill, RonaldHill, Ronald
    Feb 19, 2003 at 8:22 pm
    Feb 19, 2003 at 10:42 pm
  • It appears the real culprit is that DateTime::TimeZone 0.06 failed on make test: t/02basic....ok 1468/1478Can't locate object method "utc_year" via package "DateTime" (perhaps you forgot to load ...
    Stephen R. WilcoxonStephen R. Wilcoxon
    Feb 19, 2003 at 8:25 pm
    Feb 19, 2003 at 10:37 pm
  • Any way of making t/05tz more resource friendly? Running under Perl 5.6.1 on Solaris 2.6 on an Ultra-2, it's taking 15% cpu and 760M of memory (113M resident). The only other perl process I've seen ...
    Stephen R. WilcoxonStephen R. Wilcoxon
    Feb 19, 2003 at 8:10 pm
    Feb 19, 2003 at 8:40 pm
  • Hi David, I received an error when installing Params-Validate-0.52 for Win32 systems. Basically, the makefile.PL file needs to be changed (to reconize the c compiler) Here are the changes: if ($^O eq ...
    Hill, RonaldHill, Ronald
    Feb 19, 2003 at 8:16 pm
    Feb 19, 2003 at 8:16 pm
  • After installing DateTime::TimeZone 0.05 and Class::Factory::Util 1.3, I get the following error when trying to make test DateTime 0.05 (on Solaris 2.5 under perl 5.6.1 (it worked fine on FreeBSD ...
    Stephen R. WilcoxonStephen R. Wilcoxon
    Feb 14, 2003 at 6:18 pm
    Feb 14, 2003 at 6:23 pm
  • Nit-picking perhaps, but I think the language in the docs needs to some rewording. There is too much confusion about what the epoch is. Common practice says the epoch is _point_in_time_. Keeping that ...
    Peter J. AcklamPeter J. Acklam
    Feb 11, 2003 at 6:22 pm
    Feb 14, 2003 at 12:22 am
  • KellanKellan
    Feb 13, 2003 at 7:00 am
    Feb 13, 2003 at 6:15 pm
  • KellanKellan
    Feb 13, 2003 at 6:41 am
    Feb 13, 2003 at 6:12 pm
  • So there was a reported bug[1] with offset_as_seconds() in TimeZone.pm, which resulted in: -- revision 1.27 date: 2003/02/11 05:33:54; author: autarch; state: Exp; lines: +3 -9 don't be so smart when ...
    KellanKellan
    Feb 13, 2003 at 6:33 am
    Feb 13, 2003 at 6:10 pm
  • The example in the DateTime.pm PODumentation for set_time_zone doesn't work, it gives the folllowing error: # The following parameters were passed in the call to DateTime::TimeZone::new but were not ...
    Rick MeashamRick Measham
    Feb 11, 2003 at 2:24 am
    Feb 11, 2003 at 5:32 am
  • That is the question at hand. I have some code I've written that will tell me how many leap seconds off a given UTC time is from TAI, but what do I do with that? For example, the current code assumes ...
    Dave RolskyDave Rolsky
    Feb 9, 2003 at 10:34 pm
    Feb 10, 2003 at 12:58 pm
  • Consider this: $dt = DateTime- new( year = 1964, month = 1, day = 41, hour = 16, minute = 12, second = 47.32 ); print $dt- second; Now, I figure we'd easily handle two decimal places in the second. ...
    Rick MeashamRick Measham
    Feb 10, 2003 at 4:55 am
    Feb 10, 2003 at 5:10 am
  • In fixing the brokenness of the time zone code, I've come across what appears to be an insoluble problem. We want to allow people to create a DateTime object based on their _local_ time. Internally, ...
    Dave RolskyDave Rolsky
    Feb 2, 2003 at 12:26 am
    Feb 2, 2003 at 6:46 am
  • Several places in DateTime.pm, the separator variable $sep is placed into the format string for sprintf(), like in sub ymd { my ( $self, $sep ) = @_; $sep = '-' unless defined $sep; return sprintf( ...
    Peter J. AcklamPeter J. Acklam
    Feb 1, 2003 at 1:15 pm
    Feb 1, 2003 at 5:48 pm
  • DateTime::Set 0.00_07 will soon be in CPAN. note: the API is not stable. - Flavio S. Glock NAME DateTime::Set - Date/time sets math SYNOPSIS use DateTime; use DateTime::Set; $date1 = DateTime- new( ...
    FglockFglock
    Feb 28, 2003 at 6:43 pm
    Feb 28, 2003 at 6:43 pm
  • Here's a patch to * pass on 5.005_03. (weird thing going on with not vs. ! in Test:More::ok()) * shut up warnings against "my variables $d ..." -- Tatsuhiko Miyagawa <miyagawa@edge.co.jp --- t/1.t~ ...
    Tatsuhiko MiyagawaTatsuhiko Miyagawa
    Feb 28, 2003 at 8:23 am
    Feb 28, 2003 at 8:23 am
  • 0.09 2003-02-26 - Fixed an infinite recursion bug in generating future time zone data that occurred when $ENV{TZ} was something like "America/Chicago". Sort of reported by Eugene van der Pijll ;) ...
    Dave RolskyDave Rolsky
    Feb 26, 2003 at 11:16 pm
    Feb 26, 2003 at 11:16 pm
  • Just in case you're following along at home like I am and don't want to subscribe to the cvs mailing list, I've started producing an RSS feed from the checkins to perl-date-time/modules. Available ...
    KellanKellan
    Feb 24, 2003 at 7:03 pm
    Feb 24, 2003 at 7:03 pm
  • 0.08 2003-02-22 - Fix handling of "local" time zone so that it passes a string to the OffsetOnly constructor instead of a number. Reported by Eric Cholet. - Fix DateTime::TimeZone::OffsetOnly ...
    Dave RolskyDave Rolsky
    Feb 22, 2003 at 8:11 pm
    Feb 22, 2003 at 8:11 pm
  • Basically, the only change here is that tests are skipped unless DateTime.pm 0.06 is installed. This avoids the bootstrapping problem of DateTime.pm 0.06 needs DT::TZ 0.06+ -dave ...
    Dave RolskyDave Rolsky
    Feb 19, 2003 at 10:49 pm
    Feb 19, 2003 at 10:49 pm
Group Navigation
period‹ prev | Feb 2003 | next ›
Group Overview
groupdatetime @
categoriesperl
discussions62
posts255
users29
websitemetacpan.org...

29 users for February 2003

Dave Rolsky: 102 posts Rick Measham: 31 posts Peter J. Acklam: 25 posts Kellan: 13 posts Eugene van der Pijll: 10 posts Hill, Ronald: 9 posts Eric Cholet: 7 posts Fglock: 7 posts John Peacock: 7 posts Stephen R. Wilcoxon: 5 posts Tim Bunce: 5 posts Abigail: 4 posts Rich Bowen: 4 posts David Wheeler: 3 posts Iain 'Spoon' Truskett: 3 posts Jonathan Scott Duff: 3 posts Lawrence K. Hixson: 3 posts Yitzchak Scott-Thoennes: 3 posts Adam Turoff: 1 post Bruce Van Allen: 1 post
show more
Archives