Search Discussions
-
Happy (almost end) of April! $DateTime::VERSION = '0.77'; $DateTime::Locale::VERSION = '0.45'; $DateTime::TimeZone::VERSION = '1.46'; Can someone explain what's happening here? Did April vanish? My ...
Bill Moseley
Apr 22, 2016 at 10:11 pm
Apr 25, 2016 at 2:23 pm -
If the date for $dt is 20120229, the following produces an error! $dt- set_year($dt1- year + 1); Invalid day of month (day = 29 - month = 2) at /sbcimp/run/pd/cpan/5.8.8-2006.03/lib/DateTime.pm line ...
Jonathan Peyser
Mar 1, 2012 at 10:14 pm
May 10, 2012 at 8:54 am -
I've spent the past week reinventing a wheel. http://www.fysh.org/~zefram/tmp/DateTime-TimeZone-1.900.tar.gz size: 29025 MD5: 812934a0174783eb8bdd37f6c99175d6 SHA1: ...
Zefram
Sep 25, 2011 at 12:03 pm
Sep 27, 2011 at 9:55 am -
DateTimers, While profiling Sqitch, I found that the biggest suck on its time (now that I have removed Moose and Mouse in favor of Moo) is DateTime. The reason? It loads all of the locales in its ...
David E. Wheeler
Aug 5, 2014 at 9:07 pm
Aug 11, 2014 at 6:51 pm -
Hi guys, I had a bit of trouble using timezones defined in the Olson etcetera data file. I've had a stab at it and hopefully someone can do something with my pull request ...
Alfie John
Dec 3, 2013 at 12:32 am
Dec 5, 2013 at 9:57 pm -
Last night abou 2:15am we had some automated tests fail with this error: Invalid local time for date in time zone: America/Los_Angeles The problem was that (for some reason) we had a duration object ...
Bill Moseley
Mar 8, 2013 at 4:35 am
Mar 11, 2013 at 5:01 am -
Our apps (and the modules they use) use DateTime extensively. We have the need to do a lot of common operations on DateTime objects, for example checking if a DateTime object is in the future. So, ...
Bill Moseley
Sep 20, 2011 at 1:10 pm
Sep 21, 2011 at 2:14 pm -
Hi, I'm looking to parse a datetime from ISO8601 use DateTime::Format::ISO8601 2012-04-24T10:39:00.000+0000 Which is formatted: YYYY-MM-DDThh:mm:ss.ss[+-]hhmm The support for time parts with this ...
Carl Vincent
Apr 24, 2012 at 3:50 pm
Apr 26, 2012 at 12:04 pm -
Question: When using DateTime for a large number of instances, it becomes a serious performance drag. A typical application for me involves things like log files: I use DateTime to translate the ...
Philipp K. Janert
May 1, 2012 at 10:29 pm
May 7, 2012 at 4:25 am -
I never had any luck finding anything to give me the future DST changes for a timezone so I worked out how to get it on my own, but recently I upgraded from something like DateTime 0.36 to 0.74 and ...
Anthony Ball
May 22, 2012 at 8:59 pm
May 26, 2012 at 1:56 am -
I looked and couldn't find any names of Indian cities that I recognized: Dehli, New Dehli, Mumbai, Kolkata Bangalore, Madras, Chandigarh, Amritsar, &c., &c., &c. None of the timezones I found ...
Ted Byers
Aug 17, 2012 at 3:57 pm
Aug 19, 2012 at 5:58 am -
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 ...
Zefram
Mar 4, 2012 at 1:15 pm
May 8, 2012 at 9:39 pm -
Following up on http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/2012-March/052645.html and the bug reports http://bugs.debian.org/660404 and http://bugs.debian.org/690908 I've now ...
Gregor herrmann
Dec 22, 2012 at 9:24 pm
Sep 22, 2013 at 9:00 am -
Hi, I need to compute an absolute day number (to the day precision) as an index in a 60-day (local timezone) archive of data. A modified (starting at midnight in the local timezone) Julian Day seems ...
Olivier Mengué
Sep 6, 2011 at 10:19 am
Sep 6, 2011 at 4:56 pm -
DateTimers, I got a curious test failure on Windows: http://ppm4.activestate.com/MSWin32-x86/5.14/1400/D/DW/DWHEELER/App-Sqitch-0.911.d/log-20120824T022242.txt The error was: Invalid locale name or ...
David E. Wheeler
Aug 27, 2012 at 6:46 pm
Aug 27, 2012 at 11:54 pm -
Arthur David Olson and Paul Eggert are being sued by the (new) owner of the copyright on one of the atlases that is much used as a source for the database, claiming that the database infringes on ...
Zefram
Oct 6, 2011 at 11:42 pm
Mar 4, 2012 at 7:48 pm -
Shortly available from all good CPAN mirrors: file: $CPAN/authors/id/Z/ZE/ZEFRAM/Time-OlsonTZ-Data-0.201112.tar.gz size: 214778 bytes md5: fcfc9e47de53ee49d4f1f417add98f4b Changes from the previous ...
Zefram
Oct 10, 2011 at 5:07 am
Oct 10, 2011 at 11:26 am -
Hi, I'd like to establish what's going to happen about packaging my CPAN module Time::OlsonTZ::Data for OS distros. I'm writing to (as far as I can tell) the current Debian and Fedora maintainers of ...
Zefram
Mar 19, 2012 at 8:15 pm
Mar 24, 2012 at 8:24 pm -
We have a large project that we would like to use our "local" time zone across many calls to DateTime. We are considering implementing something like this: ### package DateTimeX::Local; use parent ...
Mark Stosberg
Oct 1, 2012 at 3:46 pm
Oct 1, 2012 at 4:28 pm -
I need to obtain UTC date-time strings from an epoch input. The UTC output needs to take leap-seconds into account. I wrote this script to test things: #!/usr/local/bin/perl use strict; use ...
Andrew Davis
Apr 5, 2012 at 8:32 pm
Apr 7, 2012 at 2:38 pm -
Hello I am attempting to create a number of DateTime::Span objects for the past hour, past 24 hours, past week etc. The code I am using looks like this: my $last24hours = DateTime::Span- ...
David Pottage
Aug 27, 2013 at 9:02 am
Aug 28, 2013 at 10:12 am -
When I try to access the http://datetime.perl.org/wiki/datetime/ website, I get: --- begin of copy-paste Service Temporarily Unavailable The server is temporarily unable to service your request due ...
Jean Forget
Sep 27, 2013 at 5:30 am
Oct 5, 2013 at 3:08 am -
Hi! Given a date and time zone, is it possible to obtain the first time of that date? For example. in America/Sao_Paulo, 2013/10/20 started at 01:00 rather than the usual midnight. I've also asked ...
Eric Brine
Dec 27, 2013 at 6:29 pm
Dec 31, 2013 at 4:24 am -
Hi all, I'm puzzling over the following which may just be a misunderstanding of the format string or something far more fundamental :-). I'm attempting to parse datetimes of the following format: ...
Andrew O'Brien
Sep 8, 2011 at 11:51 pm
Sep 12, 2011 at 9:38 am -
Hi, I recently ran into TimeZone troubles when trying to create a simple DateTime object representing a simple date: Example1: DateTime- new(year = 2011, month = 10, day = 16, time_zone = ...
Maros Kollar
Sep 26, 2011 at 2:50 pm
Sep 27, 2011 at 1:39 pm -
use DateTime::Format::Oracle; $ENV{NLS_TIMESTAMP_FORMAT} = 'DD-MON-RR HH.MI.SSXFF AM'; $s = '15-FEB-03 02.39.06.167901 PM'; $dt = DateTime::Format::Oracle- parse_timestamp($s); print $dt- nanosecond, ...
Jon Bjornstad
Oct 11, 2011 at 10:40 pm
Oct 12, 2011 at 1:45 am -
Hi! (long story at the top, suggested patch attached, grep for 'the patch' if you're in a hurry..) Recently I again stumble upon the old problem/issue of non-existent datetimes caused by DST. As you ...
Thomas Klausner
Jun 27, 2012 at 12:46 am
Jul 2, 2012 at 10:34 am -
http://serverfault.com/questions/403732/anyone-else-experiencing-high-rates-of-linux-server-crashes-today -dave /*============================================================ http://VegGuide.org ...
Dave Rolsky
Jun 30, 2012 at 8:14 pm
Jul 2, 2012 at 10:20 am -
So, I found some old that wrapped a set_time_zone in an eval. my $dt = DateTime- new( year = 2013, month = 3, day = 10, hour = 2, minute = 4, time_zone = 'floating', ); eval { $dt- set_time_zone( ...
Bill Moseley
Mar 13, 2013 at 2:35 am
Mar 14, 2013 at 11:39 am -
I need to use DateTime functionality and would like to know if the particular functionality I need already exists on CPAN. I need to construct a series of time segments which do not overlap but which ...
James E Keenan
Aug 11, 2013 at 5:07 pm
Sep 10, 2013 at 1:56 am -
This is a long-shot/stabbing-in-the-dark post -- and I'm guessing this might not have anything to do with DateTime. Anyone have any suggestions what might be happening here? I have this code running ...
Bill Moseley
Jan 7, 2014 at 5:04 am
Jan 8, 2014 at 5:39 pm -
I would like to simplify our localization of dates and, if possible, just use this format for timestamps: $dt- strftime( '%x %X' ); First question, is there any difference between the above and this? ...
Bill Moseley
Jan 16, 2014 at 10:29 pm
Jan 27, 2014 at 3:55 am -
I was optimizing some log-parsing script today, and found DateTime::Format::Strptime to be bottleneck. Out of curiosity I wrote simple benchmark. Code is here: http://pastebin.com/PU8nXGPW Results ...
Marcin Kasperski
Jan 30, 2014 at 7:08 pm
Jan 30, 2014 at 11:26 pm -
Folks, I know this is going to seem like a dumb question, but please bear with me. What consequences will PERL programmers face with DateTime, particularly with time zone handling and calculations, ...
Juan Jimenez
Jul 17, 2014 at 2:44 pm
Jul 17, 2014 at 3:48 pm -
To all users of DateTime::Calendar::Discordian, my best wishes for YOLD 3181 And to all users of Julian and Gregorian calendars (through the use of DateTime::Calendar::Julian and DateTime), happy new ...
Jean Forget
Jan 15, 2015 at 8:54 pm
Jan 19, 2015 at 6:29 am -
Dear List, A while back, I needed to some routines to parse timestamps so I started using DateTime::Format::Strptime. The times were uniformly formatted like "2012-03-13T07:43:07-07:00". That ...
David McMath
Mar 15, 2012 at 9:43 pm
Mar 16, 2012 at 3:38 pm -
We have been using formats %c, %x and %X for localizing dates based on Locale. Mostly works ok, but for Korean we are getting this: 2012. 10. 18. 오후 4:09:05 where (I've been told) we would like this ...
Bill Moseley
Oct 23, 2012 at 5:37 pm
Oct 25, 2012 at 10:16 pm -
I've just run into an odd problem while testing one of my modules that has me stumped. I'm running Perl 5.8.8 on AIX 6.1. I'm testing a new module that uses one of my other modules. The second module ...
Ursetti, Jerry
Nov 8, 2012 at 5:01 pm
Nov 8, 2012 at 6:12 pm -
There's an old SF project that has an SVN repo with many, many DateTime modules - http://sourceforge.net/projects/perl-date-time AFAICT, no one is using the the SVN repo any more. The last holdout ...
Dave Rolsky
Dec 16, 2012 at 11:35 pm
Aug 16, 2013 at 1:39 pm -
Hi, I'm looking for a way to find the size of a DateTime::SpanSet, i.e. the number of DateTime:Span objects in it. I'm not looking for a DateTime::Duration object, as the size() method returns. Kind ...
Andreas Isberg
Sep 2, 2013 at 10:32 am
Sep 4, 2013 at 6:16 pm -
Another new version of my DT:TZ rewrite. CPAN-style tarball at http://www.fysh.org/~zefram/tmp/DateTime-TimeZone-1.902.tar.gz Public git repo at git://lake.fysh.org/zefram/DateTime-TimeZone.git The ...
Zefram
Sep 21, 2013 at 1:08 pm
Sep 23, 2013 at 9:09 am -
Hello datetime, As you may know, Moscow Time has been UTC+4 year-round since 2011, but will change to UTC+3 permanently on 25 October 2014. http://en.wikipedia.org/wiki/Moscow_Time Would there be a ...
Joe Fasano
Sep 16, 2014 at 6:24 pm
Sep 17, 2014 at 6:20 pm -
Hello all, I am trying to implement in Act, the software behind most Perl conference sites, a feature someone asked for: timezone in the iCal export (which is generated with Data::ICal). Looking at ...
Sébastien Aperghis-Tramoni
Jul 12, 2011 at 11:49 pm
Jul 13, 2011 at 7:07 am -
Hi Folks I'm converting a home-grown module into a CPAN-ready one, which I'm planning to call DateTime::Format::Gedcom. The spec for GEDCOM dates (of which there are several) is in ...
Ron Savage
Sep 6, 2011 at 1:46 am
Sep 6, 2011 at 2:13 pm -
Right after Dave published DateTime-0.78 I spotted a typo in the description of a test that was insufficiently updated by my patch for rt-79845. Sorry! -Martin diff -rup ...
Martin Becker
Nov 19, 2012 at 3:02 pm
Nov 20, 2012 at 11:02 pm -
Ron Hill, are you still active on the DateTime list? From August 2000 until October 2003, you have released several versions of Astro::Sunrise. From March 2003 to March 2004, you have released ...
Jean Forget
Jun 26, 2013 at 8:43 pm
Jul 12, 2013 at 5:29 am -
I was looking at http://search.cpan.org/~drolsky/DateTime-1.03/lib/DateTime.pm where it says: The delta_md and delta_days methods truncate the duration so that any What I'm wondering is if the dates ...
Bill Moseley
Sep 16, 2013 at 3:21 am
Sep 16, 2013 at 12:50 pm -
Hi, I'm trying to find a way to perform math with the duration of a DateTime::SpanSet. I'd prefer it to be in seconds, but I can't find anything from it in the documentation. What I did find is that ...
Andreas Isberg
Nov 29, 2013 at 11:59 am
Nov 30, 2013 at 3:09 pm -
my $dt1 = DateTime- new( year = 2014, month = 3, day = 30, hour = 3, minute = 30, second = 0, time_zone = 'Europe/Kiev',); return an error "Invalid local time for date in time zone: Europe/Kiev" ...
Андрей
May 7, 2014 at 2:59 pm
May 8, 2014 at 1:37 pm -
min() and start(), and max() and end() do exactly the same thing. DateTime::SpanSet has it right (implemented and documented). DateTime::Span has it implemented, but not documented (the example ...
Flavio S. Glock
May 17, 2016 at 8:14 am
May 17, 2016 at 9:24 am
Group Overview
group | datetime |
categories | perl |
discussions | 1,925 |
posts | 8,085 |
users | 641 |
website | metacpan.org... |
Top users
Archives
- May 2016 (3)
- April 2016 (26)
- February 2016 (4)
- January 2016 (1)
- December 2015 (1)
- November 2015 (1)
- October 2015 (1)
- March 2015 (1)
- February 2015 (1)
- January 2015 (6)
- December 2014 (1)
- September 2014 (3)
- August 2014 (16)
- July 2014 (6)
- June 2014 (2)
- May 2014 (4)
- March 2014 (2)
- January 2014 (12)
- December 2013 (19)
- November 2013 (2)
- October 2013 (9)
- September 2013 (18)
- August 2013 (12)
- June 2013 (1)
- March 2013 (16)
- January 2013 (2)
- December 2012 (4)
- November 2012 (10)
- October 2012 (11)
- September 2012 (4)
- August 2012 (19)
- July 2012 (10)
- June 2012 (3)
- May 2012 (23)
- April 2012 (15)
- March 2012 (42)
- December 2011 (2)
- October 2011 (17)
- September 2011 (47)
- August 2011 (1)
- July 2011 (3)
- June 2011 (1)
- May 2011 (3)
- April 2011 (9)
- March 2011 (7)
- February 2011 (28)
- January 2011 (4)
- December 2010 (5)
- November 2010 (20)
- October 2010 (7)
- September 2010 (45)
- August 2010 (37)
- July 2010 (23)
- June 2010 (3)
- May 2010 (12)
- April 2010 (5)
- March 2010 (5)
- February 2010 (9)
- January 2010 (12)
- December 2009 (64)
- November 2009 (44)
- October 2009 (7)
- September 2009 (10)
- August 2009 (18)
- July 2009 (29)
- June 2009 (10)
- May 2009 (9)
- April 2009 (43)
- March 2009 (22)
- February 2009 (21)
- January 2009 (22)
- December 2008 (26)
- November 2008 (42)
- October 2008 (34)
- September 2008 (20)
- August 2008 (30)
- July 2008 (22)
- June 2008 (13)
- May 2008 (18)
- April 2008 (7)
- March 2008 (42)
- February 2008 (6)
- January 2008 (28)
- December 2007 (8)
- November 2007 (36)
- October 2007 (6)
- September 2007 (19)
- August 2007 (28)
- July 2007 (11)
- June 2007 (6)
- May 2007 (26)
- April 2007 (10)
- March 2007 (69)
- February 2007 (24)
- January 2007 (73)
- December 2006 (11)
- November 2006 (47)
- October 2006 (56)
- September 2006 (32)
- August 2006 (24)
- July 2006 (41)
- June 2006 (11)
- May 2006 (45)
- April 2006 (24)
- March 2006 (29)
- February 2006 (20)
- January 2006 (44)
- December 2005 (20)
- November 2005 (45)
- October 2005 (22)
- September 2005 (53)
- August 2005 (71)
- July 2005 (111)
- June 2005 (72)
- May 2005 (34)
- April 2005 (39)
- March 2005 (37)
- February 2005 (38)
- January 2005 (48)
- December 2004 (57)
- November 2004 (22)
- October 2004 (26)
- September 2004 (50)
- August 2004 (58)
- July 2004 (100)
- June 2004 (91)
- May 2004 (32)
- April 2004 (51)
- March 2004 (126)
- February 2004 (129)
- January 2004 (96)
- December 2003 (54)
- November 2003 (165)
- October 2003 (190)
- September 2003 (202)
- August 2003 (248)
- July 2003 (630)
- June 2003 (629)
- May 2003 (429)
- April 2003 (665)
- March 2003 (429)
- February 2003 (255)
- January 2003 (471)
- December 2002 (11)
- November 2002 (8)
- August 2002 (1)
- July 2002 (7)
- May 2002 (18)
- April 2002 (18)
- March 2002 (4)
- February 2002 (4)
- January 2002 (7)
- December 2001 (4)
- November 2001 (47)
- October 2001 (6)
- September 2001 (19)
- August 2001 (147)
- July 2001 (12)
- June 2001 (10)
- May 2001 (62)