Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime CPAN distribution.

Report information
The Basics
Id: 38216
Status: rejected
Priority: 0/
Queue: DateTime

People
Owner: Nobody in particular
Requestors: t.korth [...] gmx.de
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.41
Fixed in: (no value)



Subject: Invalid format for date!
Hello, I've got a date Date: Sat, 2 Aug 2008 19:12:39 +0200 (Westeuropäische Normalzeit) in an email. This could not be processed by DateTime. :-( Yours, Tino
Subject: Re: [rt.cpan.org #38216] Invalid format for date!
Date: Tue, 5 Aug 2008 21:35:07 -0500 (CDT)
To: Tino Korth via RT <bug-DateTime [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Tue, 5 Aug 2008, Tino Korth via RT wrote: Show quoted text
> Date: Sat, 2 Aug 2008 19:12:39 +0200 (Westeuropäische Normalzeit) > > in an email. > > This could not be processed by DateTime. :-(
Wow, no code, no error message. What exactly do you propose I do with this? -dave
Subject: Re: [rt.cpan.org #38216] Invalid format for date!
Date: Sun, 24 Aug 2008 13:36:03 +0200
To: bug-DateTime [...] rt.cpan.org
From: Tino Korth <t.korth [...] gmx.de>
Hello, I can't give you access to my mailbox - so, how can I describe the e-mail? The "Date-line" in the email contains ------ Date: Sat, 2 Aug 2008 19:12:39 +0200 (Westeuropäische Normalzeit) ------ And this line could not be parsed by DateTime. An error "Invalid format for date!" is shown. Yours, Tino autarch@urth.org via RT schrieb: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=38216 > > > On Tue, 5 Aug 2008, Tino Korth via RT wrote: >
>> Date: Sat, 2 Aug 2008 19:12:39 +0200 (Westeuropäische Normalzeit) >> >> in an email. >> >> This could not be processed by DateTime. :-(
> > Wow, no code, no error message. > > What exactly do you propose I do with this? > > > -dave
Subject: Re: [rt.cpan.org #38216] Invalid format for date!
Date: Sun, 24 Aug 2008 09:08:41 -0500 (CDT)
To: Tino Korth via RT <bug-DateTime [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Sun, 24 Aug 2008, Tino Korth via RT wrote: Show quoted text
> Queue: DateTime > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=38216 > > > Hello, > > I can't give you access to my mailbox - so, how can I describe the e-mail? > > The "Date-line" in the email contains > > ------ > Date: Sat, 2 Aug 2008 19:12:39 +0200 (Westeuropäische Normalzeit) > ------ > > And this line could not be parsed by DateTime. An error "Invalid format > for date!" is shown.
You still haven't sent me any code! I have no idea what you're doing, so I can't possibly figure out if this is a bug. This is becoming annoying extremely quickly. -dave /*========================== VegGuide.Org Your guide to all that's veg ==========================*/
Subject: Re: [rt.cpan.org #38216] Invalid format for date!
Date: Wed, 03 Sep 2008 21:53:25 +0200
To: bug-DateTime [...] rt.cpan.org
From: Thiemo Nagel <thiemo.nagel [...] ph.tum.de>
Hi Dave, I think (blind guess) that Tino might expect something like that to work: $dt = DateTime->new( "Sat, 2 Aug 2008 19:12:39 +0200" ); Which would be cool... BTW: It also would be nice if $dt = DateTime->new( month => "feb", ... ); would work. Show quoted text
> /*========================== > VegGuide.Org > Your guide to all that's veg > ==========================*/
Nice. :-) Kind regards, Thiemo Nagel -- +-------------------------+-------------------------+ | TU Muenchen | Room PH1 3558 | | Physik-Department E18 | | | James-Franck-Strasse | Phone +49 89 289-12592 | | D-85747 Garching | Fax +49 89 289-12570 | +-------------------------+-------------------------+
Subject: Re: [rt.cpan.org #38216] Invalid format for date!
Date: Wed, 3 Sep 2008 15:00:15 -0500 (CDT)
To: Thiemo Nagel via RT <bug-DateTime [...] rt.cpan.org>
From: Dave Rolsky <autarch [...] urth.org>
On Wed, 3 Sep 2008, Thiemo Nagel via RT wrote: Show quoted text
> Queue: DateTime > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=38216 > > > Hi Dave, > > I think (blind guess) that Tino might expect something like that to work: > > $dt = DateTime->new( "Sat, 2 Aug 2008 19:12:39 +0200" ); > > Which would be cool... > > > BTW: It also would be nice if > > $dt = DateTime->new( month => "feb", ... ); > > would work.
That's a nice idea, but the docs make it pretty clear what will work. There are various DateTime::Format::* modules that can parse all sorts of date formats for this sort of stuff. Please stop responding to this ticket, because it keeps it open after I close it. -dave /*========================== VegGuide.Org Your guide to all that's veg ==========================*/
Subject: Re: [rt.cpan.org #38216] Invalid format for date!
Date: Wed, 03 Sep 2008 22:34:29 +0200
To: bug-DateTime [...] rt.cpan.org
From: Thiemo Nagel <thiemo.nagel [...] ph.tum.de>
Show quoted text
> That's a nice idea, but the docs make it pretty clear what will work.
Absolutely. Show quoted text
> There are various DateTime::Format::* modules that can parse all sorts of > date formats for this sort of stuff.
Maybe you could be so kind to add a reference to DateTime::Format::* in the "Constructors" section. In my opinion that would make the documentation more complete. Show quoted text
> Please stop responding to this ticket, because it keeps it open after I > close it.
I'll do. Kind regards, Thiemo