Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the DateTime-Format-Pg CPAN distribution.

Report information
The Basics
Id: 27222
Status: resolved
Priority: 0/
Queue: DateTime-Format-Pg

People
Owner: Nobody in particular
Requestors: GHENRY [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.15
Fixed in: (no value)



Subject: parse_interval will not parse '-100:33:00'
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Type: text/plain; charset="utf8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 346
Download (untitled) / with headers
text/plain 346b
Hi, I can't seem to get parse_interval to parse negative formats, for example: #!/usr/bin/perl use strict; use warnings; use DateTime::Format::Pg; print DateTime::Format::Pg->parse_interval('-100:33:00'); Gives: Invalid interval string at test.pl line 6 -100:33:00 is an interval returned from one of our Pg functions. Thanks, Gavin.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Message-Id: <rt-3.6.HEAD-16518-1179794040-1346.27222-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
From: DMAKI [...] cpan.org
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 125
Download (untitled) / with headers
text/plain 125b
I think this has to do more with that parse_duration couldn't handle hours greater than 99. I've fixed that and uploaded 0.16
MIME-Version: 1.0
X-Spam-Status: No, hits=-0.1 required=8.0 tests=BAYES_20,DKIM_POLICY_SIGNSOME,DK_POLICY_SIGNSOME,SPF_NEUTRAL
X-Authentication-Warning: suretecsystems.com: apache set sender to ghenry [...] cpan.org using -f
In-Reply-To: <rt-3.6.HEAD-16518-1179794040-1346.27222-6-0 [...] rt.cpan.org>
Received-SPF: neutral (x1.develooper.com: local policy)
References: <RT-Ticket-27222 [...] rt.cpan.org> <rt-3.6.HEAD-16518-1179794040-1346.27222-6-0 [...] rt.cpan.org>
Importance: Normal
Content-Type: text/plain; charset="utf-8"
X-Scan-Signature: a3691ff375e5ae56957065a5f0692bcc
X-RT-Original-Encoding: iso-8859-1
X-Spam-Score: -1.4 (-)
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id F13744D80BD for <bug-DateTime-Format-Pg [...] rt.cpan.org>; Tue, 22 May 2007 04:42:24 -0400 (EDT)
Received: (qmail 16123 invoked by alias); 22 May 2007 08:42:24 -0000
Received: from pih-relay06.plus.net (HELO pih-relay06.plus.net) (212.159.14.133) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Tue, 22 May 2007 01:39:25 -0700
Received: from [80.229.93.1] (helo=suretecsystems.com) by pih-relay06.plus.net with esmtp (Exim) id 1HqPtn-0006w8-HK for bug-DateTime-Format-Pg [...] rt.cpan.org; Tue, 22 May 2007 09:39:19 +0100
Received: from localhost ([127.0.0.1] helo=suretecsystems.com) by suretecsystems.com with esmtp (Exim 4.63) (envelope-from <ghenry [...] cpan.org>) id 1HqPte-0005jP-Da; Tue, 22 May 2007 09:39:17 +0100
Received: (from apache [...] localhost) by suretecsystems.com (8.13.8/8.13.8/Submit) id l4M8dAwb022034; Tue, 22 May 2007 09:39:10 +0100
Received: from 80.229.93.1 (SquirrelMail authenticated user suretec) by webmail.suretecsystems.com with HTTP; Tue, 22 May 2007 09:39:10 +0100 (BST)
Delivered-To: cpan-bug+datetime-format-pg [...] diesel.bestpractical.com
User-Agent: SquirrelMail/1.4.10a-1.fc6
Subject: Re: [rt.cpan.org #27222] parse_interval will not parse '-100:33:00'
Return-Path: <ghenry [...] cpan.org>
X-Spam-Report: Spam detection software, running on the system "dax", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: <quote who="via RT"> > > <URL: http://rt.cpan.org/Ticket/Display.html?id=27222 > > > I think this has to do more with that parse_duration couldn't handle > hours greater than 99. I've fixed that and uploaded 0.16 > [...] Content analysis details: (-1.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: bug-DateTime-Format-Pg [...] rt.cpan.org
X-Priority: 3 (Normal)
Date: Tue, 22 May 2007 09:39:10 +0100 (BST)
Message-Id: <58366.80.229.93.1.1179823150.squirrel [...] webmail.suretecsystems.com>
To: bug-DateTime-Format-Pg [...] rt.cpan.org
Content-Transfer-Encoding: 8bit
From: "Gavin Henry" <ghenry [...] cpan.org>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-16488-1179823351-626.27222-0-0 [...] rt.cpan.org>
Content-Length: 537
Download (untitled) / with headers
text/plain 537b
<quote who="via RT"> Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=27222 > > > I think this has to do more with that parse_duration couldn't handle > hours greater than 99. I've fixed that and uploaded 0.16 >
Excellent. You've got to love the CPAN, Perl and Open Source in general to get bug fixes this quick! ;-) Will install and test. BTW, We're using your module quite heavily in http://www.flexitimemanager.co.uk, a new Catalyst, Dojo and Pg application. So we'll fire over any more things we find. Thanks again, Gavin.
MIME-Version: 1.0
X-Spam-Status: No, hits=2.5 required=8.0 tests=BAYES_40,DKIM_POLICY_SIGNSOME,DK_POLICY_SIGNSOME,KARMA_CONNECT_NEGATIVE,SPF_NEUTRAL
X-Authentication-Warning: suretecsystems.com: apache set sender to ghenry [...] cpan.org using -f
In-Reply-To: <rt-3.6.HEAD-16518-1179794040-1346.27222-6-0 [...] rt.cpan.org>
Received-SPF: neutral (x1.develooper.com: local policy)
References: <RT-Ticket-27222 [...] rt.cpan.org> <rt-3.6.HEAD-16518-1179794040-1346.27222-6-0 [...] rt.cpan.org>
Importance: Normal
Content-Type: text/plain; charset="utf-8"
X-Scan-Signature: 9be6a191f652a0b563a51fed486bbf69
X-RT-Original-Encoding: iso-8859-1
X-Spam-Score: -1.4 (-)
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id D1DAD4D80D5 for <bug-DateTime-Format-Pg [...] rt.cpan.org>; Tue, 22 May 2007 05:01:31 -0400 (EDT)
Received: (qmail 24313 invoked by alias); 22 May 2007 09:01:31 -0000
Received: from pih-relay06.plus.net (HELO pih-relay06.plus.net) (212.159.14.133) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Tue, 22 May 2007 02:01:15 -0700
Received: from [80.229.93.1] (helo=suretecsystems.com) by pih-relay06.plus.net with esmtp (Exim) id 1HqQEw-0008OG-DI for bug-DateTime-Format-Pg [...] rt.cpan.org; Tue, 22 May 2007 10:01:10 +0100
Received: from localhost ([127.0.0.1] helo=suretecsystems.com) by suretecsystems.com with esmtp (Exim 4.63) (envelope-from <ghenry [...] cpan.org>) id 1HqQEs-000618-QY; Tue, 22 May 2007 10:01:09 +0100
Received: (from apache [...] localhost) by suretecsystems.com (8.13.8/8.13.8/Submit) id l4M916Bc023133; Tue, 22 May 2007 10:01:06 +0100
Received: from 80.229.93.1 (SquirrelMail authenticated user suretec) by webmail.suretecsystems.com with HTTP; Tue, 22 May 2007 10:01:06 +0100 (BST)
Delivered-To: cpan-bug+datetime-format-pg [...] diesel.bestpractical.com
User-Agent: SquirrelMail/1.4.10a-1.fc6
Subject: Re: [rt.cpan.org #27222] parse_interval will not parse '-100:33:00'
Return-Path: <ghenry [...] cpan.org>
X-Spam-Report: Spam detection software, running on the system "dax", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: <quote who="via RT"> > > <URL: http://rt.cpan.org/Ticket/Display.html?id=27222 > > > I think this has to do more with that parse_duration couldn't handle > hours greater than 99. I've fixed that and uploaded 0.16 > [...] Content analysis details: (-1.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: bug-DateTime-Format-Pg [...] rt.cpan.org
X-Priority: 3 (Normal)
Date: Tue, 22 May 2007 10:01:06 +0100 (BST)
Message-Id: <54563.80.229.93.1.1179824466.squirrel [...] webmail.suretecsystems.com>
To: bug-DateTime-Format-Pg [...] rt.cpan.org
Content-Transfer-Encoding: 8bit
From: "Gavin Henry" <ghenry [...] cpan.org>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-16500-1179824497-247.27222-0-0 [...] rt.cpan.org>
Content-Length: 551
Download (untitled) / with headers
text/plain 551b
<quote who="via RT"> Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=27222 > > > I think this has to do more with that parse_duration couldn't handle > hours greater than 99. I've fixed that and uploaded 0.16 >
Tested, but it doesn't honour the negative sign, e.g.: #!/usr/bin/perl use strict; use warnings; use DateTime::Format::Pg; my $dd = DateTime::Format::Pg->parse_interval('-100:33:00'); print 'Hours: ' . $dd->hours, "\n" . 'Minutes: ' . $dd->minutes, "\n" . 'Secounds: ' . $dd->seconds, "\n"; ->hours gives 100, not -100 Thanks.
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-16500-1179824497-247.27222-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
References: <RT-Ticket-27222 [...] rt.cpan.org> <rt-3.6.HEAD-16518-1179794040-1346.27222-6-0 [...] rt.cpan.org> <54563.80.229.93.1.1179824466.squirrel [...] webmail.suretecsystems.com> <rt-3.6.HEAD-16500-1179824497-247.27222-0-0 [...] rt.cpan.org>
Message-Id: <rt-3.6.HEAD-16488-1179825526-1896.27222-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
From: DMAKI [...] cpan.org
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 517
Download (untitled) / with headers
text/plain 517b
That's a feature from DateTime::Duration ;) It doesn't give you the sign when you access each component, because it normalizes the sum of each components upon creation. Try: if ($dd->is_negative) { ... duration is negative ... } else { ... duration is positive ... } Show quoted text
> my $dd = DateTime::Format::Pg->parse_interval('-100:33:00'); > > print 'Hours: ' . $dd->hours, "\n" . 'Minutes: ' . $dd->minutes, > "\n" . 'Secounds: ' . $dd->seconds, "\n"; > > > ->hours gives 100, not -100 > > Thanks.
MIME-Version: 1.0
X-Spam-Status: No, hits=0.7 required=8.0 tests=BAYES_50,DKIM_POLICY_SIGNSOME,DK_POLICY_SIGNSOME,SPF_NEUTRAL
X-Authentication-Warning: suretecsystems.com: apache set sender to ghenry [...] cpan.org using -f
In-Reply-To: <rt-3.6.HEAD-16488-1179825526-1896.27222-6-0 [...] rt.cpan.org>
Received-SPF: neutral (x1.develooper.com: local policy)
References: <RT-Ticket-27222 [...] rt.cpan.org> <rt-3.6.HEAD-16518-1179794040-1346.27222-6-0 [...] rt.cpan.org> <54563.80.229.93.1.1179824466.squirrel [...] webmail.suretecsystems.com> <rt-3.6.HEAD-16500-1179824497-247.27222-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-16488-1179825526-1896.27222-6-0 [...] rt.cpan.org>
Importance: Normal
Content-Type: text/plain; charset="utf-8"
X-Scan-Signature: 540c36c698e30b83c6aefd9b6bf5bcf4
X-RT-Original-Encoding: iso-8859-1
X-Spam-Score: -1.4 (-)
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 8F2864D80D5 for <bug-DateTime-Format-Pg [...] rt.cpan.org>; Tue, 22 May 2007 06:24:48 -0400 (EDT)
Received: (qmail 23332 invoked by alias); 22 May 2007 10:12:11 -0000
Received: from pih-relay05.plus.net (HELO pih-relay05.plus.net) (212.159.14.132) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Tue, 22 May 2007 03:11:55 -0700
Received: from [80.229.93.1] (helo=suretecsystems.com) by pih-relay05.plus.net with esmtp (Exim) id 1HqRLE-0006oN-Fk for bug-DateTime-Format-Pg [...] rt.cpan.org; Tue, 22 May 2007 11:11:44 +0100
Received: from localhost ([127.0.0.1] helo=suretecsystems.com) by suretecsystems.com with esmtp (Exim 4.63) (envelope-from <ghenry [...] cpan.org>) id 1HqRL6-0006fn-Nb; Tue, 22 May 2007 11:11:43 +0100
Received: (from apache [...] localhost) by suretecsystems.com (8.13.8/8.13.8/Submit) id l4MABa1H025652; Tue, 22 May 2007 11:11:36 +0100
Received: from 80.229.93.1 (SquirrelMail authenticated user suretec) by webmail.suretecsystems.com with HTTP; Tue, 22 May 2007 11:11:36 +0100 (BST)
Delivered-To: cpan-bug+datetime-format-pg [...] diesel.bestpractical.com
User-Agent: SquirrelMail/1.4.10a-1.fc6
Subject: Re: [rt.cpan.org #27222] parse_interval will not parse '-100:33:00'
Return-Path: <ghenry [...] cpan.org>
X-Spam-Report: Spam detection software, running on the system "dax", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: <quote who="via RT"> > > <URL: http://rt.cpan.org/Ticket/Display.html?id=27222 > > > > That's a feature from DateTime::Duration ;) > It doesn't give you the sign when you access each component, > because it normalizes the sum of each components upon creation. > > Try: > > if ($dd->is_negative) { > ... duration is negative ... > } else { > ... duration is positive ... > } [...] Content analysis details: (-1.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: bug-DateTime-Format-Pg [...] rt.cpan.org
X-Priority: 3 (Normal)
Date: Tue, 22 May 2007 11:11:36 +0100 (BST)
Message-Id: <36770.80.229.93.1.1179828696.squirrel [...] webmail.suretecsystems.com>
To: bug-DateTime-Format-Pg [...] rt.cpan.org
Content-Transfer-Encoding: 8bit
From: "Gavin Henry" <ghenry [...] cpan.org>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-16509-1179829617-1664.27222-0-0 [...] rt.cpan.org>
Content-Length: 707
Download (untitled) / with headers
text/plain 707b
<quote who="via RT"> Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=27222 > > > > That's a feature from DateTime::Duration ;) > It doesn't give you the sign when you access each component, > because it normalizes the sum of each components upon creation. > > Try: > > if ($dd->is_negative) { > ... duration is negative ... > } else { > ... duration is positive ... > }
Ah, user error ;-) Thanks for the tip and your valuable time! Gavin. Show quoted text
>
>> my $dd = DateTime::Format::Pg->parse_interval('-100:33:00'); >> >> print 'Hours: ' . $dd->hours, "\n" . 'Minutes: ' . $dd->minutes, >> "\n" . 'Secounds: ' . $dd->seconds, "\n"; >> >> >> ->hours gives 100, not -100 >> >> Thanks.
> > > >
MIME-Version: 1.0
X-Spam-Status: No, hits=2.7 required=8.0 tests=BAYES_50,DKIM_POLICY_SIGNSOME,DK_POLICY_SIGNSOME,KARMA_CONNECT_NEGATIVE,SPF_NEUTRAL
X-Authentication-Warning: suretecsystems.com: apache set sender to ghenry [...] cpan.org using -f
In-Reply-To: <rt-3.6.HEAD-16488-1179825526-1896.27222-6-0 [...] rt.cpan.org>
Received-SPF: neutral (x1.develooper.com: local policy)
References: <RT-Ticket-27222 [...] rt.cpan.org> <rt-3.6.HEAD-16518-1179794040-1346.27222-6-0 [...] rt.cpan.org> <54563.80.229.93.1.1179824466.squirrel [...] webmail.suretecsystems.com> <rt-3.6.HEAD-16500-1179824497-247.27222-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-16488-1179825526-1896.27222-6-0 [...] rt.cpan.org>
Importance: Normal
Content-Type: text/plain; charset="utf-8"
X-Scan-Signature: 39dfab607c36f4685ef53312637942c6
X-RT-Original-Encoding: iso-8859-1
X-Spam-Score: -1.4 (-)
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 150334D8163 for <bug-DateTime-Format-Pg [...] rt.cpan.org>; Tue, 22 May 2007 06:26:47 -0400 (EDT)
Received: (qmail 25735 invoked by alias); 22 May 2007 10:17:41 -0000
Received: from ptb-relay03.plus.net (HELO ptb-relay03.plus.net) (212.159.14.214) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Tue, 22 May 2007 03:17:06 -0700
Received: from [80.229.93.1] (helo=suretecsystems.com) by ptb-relay03.plus.net with esmtp (Exim) id 1HqRQK-0002HH-3f for bug-DateTime-Format-Pg [...] rt.cpan.org; Tue, 22 May 2007 11:17:00 +0100
Received: from localhost ([127.0.0.1] helo=suretecsystems.com) by suretecsystems.com with esmtp (Exim 4.63) (envelope-from <ghenry [...] cpan.org>) id 1HqRQJ-0006lR-3Y; Tue, 22 May 2007 11:16:59 +0100
Received: (from apache [...] localhost) by suretecsystems.com (8.13.8/8.13.8/Submit) id l4MAGwnc026004; Tue, 22 May 2007 11:16:58 +0100
Received: from 80.229.93.1 (SquirrelMail authenticated user suretec) by webmail.suretecsystems.com with HTTP; Tue, 22 May 2007 11:16:58 +0100 (BST)
Delivered-To: cpan-bug+datetime-format-pg [...] diesel.bestpractical.com
User-Agent: SquirrelMail/1.4.10a-1.fc6
Subject: Re: [rt.cpan.org #27222] parse_interval will not parse '-100:33:00'
Return-Path: <ghenry [...] cpan.org>
X-Spam-Report: Spam detection software, running on the system "dax", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi again, It now dies with again with '-98:08:00' on 0.16 Thanks, [...] Content analysis details: (-1.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: bug-DateTime-Format-Pg [...] rt.cpan.org
X-Priority: 3 (Normal)
Date: Tue, 22 May 2007 11:16:58 +0100 (BST)
Message-Id: <54134.80.229.93.1.1179829018.squirrel [...] webmail.suretecsystems.com>
To: bug-DateTime-Format-Pg [...] rt.cpan.org
Content-Transfer-Encoding: 8bit
From: "Gavin Henry" <ghenry [...] cpan.org>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-16518-1179829632-50.27222-0-0 [...] rt.cpan.org>
Content-Length: 76
Hi again, It now dies with again with '-98:08:00' on 0.16 Thanks, Gavin.
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-16518-1179829632-50.27222-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Message-Id: <rt-3.6.HEAD-16488-1179831300-1967.27222-0-0 [...] rt.cpan.org>
References: <RT-Ticket-27222 [...] rt.cpan.org> <rt-3.6.HEAD-16518-1179794040-1346.27222-6-0 [...] rt.cpan.org> <54563.80.229.93.1.1179824466.squirrel [...] webmail.suretecsystems.com> <rt-3.6.HEAD-16500-1179824497-247.27222-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-16488-1179825526-1896.27222-6-0 [...] rt.cpan.org> <54134.80.229.93.1.1179829018.squirrel [...] webmail.suretecsystems.com> <rt-3.6.HEAD-16518-1179829632-50.27222-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 164
Download (untitled) / with headers
text/plain 164b
Yeah, seems like this was done intentionally (I didn't write the original code), so I missed it. I'll do a more thorough test this time ;) thanks for the feedback.
MIME-Version: 1.0
X-Spam-Status: No, hits=0.5 required=8.0 tests=BAYES_40,DKIM_POLICY_SIGNSOME,DK_POLICY_SIGNSOME,SPF_NEUTRAL
X-Authentication-Warning: suretecsystems.com: apache set sender to ghenry [...] cpan.org using -f
In-Reply-To: <rt-3.6.HEAD-16488-1179831300-1967.27222-6-0 [...] rt.cpan.org>
Received-SPF: neutral (x1.develooper.com: local policy)
References: <RT-Ticket-27222 [...] rt.cpan.org> <rt-3.6.HEAD-16518-1179794040-1346.27222-6-0 [...] rt.cpan.org> <54563.80.229.93.1.1179824466.squirrel [...] webmail.suretecsystems.com> <rt-3.6.HEAD-16500-1179824497-247.27222-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-16488-1179825526-1896.27222-6-0 [...] rt.cpan.org> <54134.80.229.93.1.1179829018.squirrel [...] webmail.suretecsystems.com> <rt-3.6.HEAD-16518-1179829632-50.27222-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-16488-1179831300-1967.27222-6-0 [...] rt.cpan.org>
Importance: Normal
Content-Type: text/plain; charset="utf-8"
X-Scan-Signature: dd6ee973a66047fa2e10c16f4f6f8969
X-RT-Original-Encoding: iso-8859-1
X-Spam-Score: -1.4 (-)
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 7CCAA4D8171 for <bug-DateTime-Format-Pg [...] rt.cpan.org>; Tue, 22 May 2007 07:16:00 -0400 (EDT)
Received: (qmail 19759 invoked by alias); 22 May 2007 11:15:59 -0000
Received: from ptb-relay03.plus.net (HELO ptb-relay03.plus.net) (212.159.14.214) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Tue, 22 May 2007 04:15:42 -0700
Received: from [80.229.93.1] (helo=suretecsystems.com) by ptb-relay03.plus.net with esmtp (Exim) id 1HqSL1-0002sC-PN for bug-DateTime-Format-Pg [...] rt.cpan.org; Tue, 22 May 2007 12:15:36 +0100
Received: from localhost ([127.0.0.1] helo=suretecsystems.com) by suretecsystems.com with esmtp (Exim 4.63) (envelope-from <ghenry [...] cpan.org>) id 1HqSKw-0007JX-H3; Tue, 22 May 2007 12:15:34 +0100
Received: (from apache [...] localhost) by suretecsystems.com (8.13.8/8.13.8/Submit) id l4MBFTcY028118; Tue, 22 May 2007 12:15:30 +0100
Received: from 80.229.93.1 (SquirrelMail authenticated user suretec) by webmail.suretecsystems.com with HTTP; Tue, 22 May 2007 12:15:29 +0100 (BST)
Delivered-To: cpan-bug+datetime-format-pg [...] diesel.bestpractical.com
User-Agent: SquirrelMail/1.4.10a-1.fc6
Subject: Re: [rt.cpan.org #27222] parse_interval will not parse '-100:33:00'
Return-Path: <ghenry [...] cpan.org>
X-Spam-Report: Spam detection software, running on the system "dax", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: <quote who="via RT"> > > <URL: http://rt.cpan.org/Ticket/Display.html?id=27222 > > > Yeah, seems like this was done intentionally (I didn't write the > original code), so I missed it. I'll do a more thorough test this time ;) > > thanks for the feedback. > [...] Content analysis details: (-1.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: bug-DateTime-Format-Pg [...] rt.cpan.org
X-Priority: 3 (Normal)
Date: Tue, 22 May 2007 12:15:29 +0100 (BST)
Message-Id: <58826.80.229.93.1.1179832530.squirrel [...] webmail.suretecsystems.com>
To: bug-DateTime-Format-Pg [...] rt.cpan.org
Content-Transfer-Encoding: 8bit
From: "Gavin Henry" <ghenry [...] cpan.org>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-16473-1179832568-215.27222-0-0 [...] rt.cpan.org>
Content-Length: 262
Download (untitled) / with headers
text/plain 262b
<quote who="via RT"> Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=27222 > > > Yeah, seems like this was done intentionally (I didn't write the > original code), so I missed it. I'll do a more thorough test this time ;) > > thanks for the feedback. >
np.
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-16473-1179832568-215.27222-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Message-Id: <rt-3.6.HEAD-16493-1179833325-220.27222-0-0 [...] rt.cpan.org>
References: <RT-Ticket-27222 [...] rt.cpan.org> <rt-3.6.HEAD-16518-1179794040-1346.27222-6-0 [...] rt.cpan.org> <54563.80.229.93.1.1179824466.squirrel [...] webmail.suretecsystems.com> <rt-3.6.HEAD-16500-1179824497-247.27222-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-16488-1179825526-1896.27222-6-0 [...] rt.cpan.org> <54134.80.229.93.1.1179829018.squirrel [...] webmail.suretecsystems.com> <rt-3.6.HEAD-16518-1179829632-50.27222-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-16488-1179831300-1967.27222-6-0 [...] rt.cpan.org> <58826.80.229.93.1.1179832530.squirrel [...] webmail.suretecsystems.com> <rt-3.6.HEAD-16473-1179832568-215.27222-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 147
Download (untitled) / with headers
text/plain 147b
Now it should handle hours with two digits (with a preceding 0, if less than 10), or an arbitrary number of digits >= 3. Just uploaded it to CPAN.
MIME-Version: 1.0
X-Spam-Status: No, hits=2.7 required=8.0 tests=BAYES_50,DKIM_POLICY_SIGNSOME,DK_POLICY_SIGNSOME,KARMA_CONNECT_NEGATIVE,SPF_NEUTRAL
X-Authentication-Warning: suretecsystems.com: apache set sender to ghenry [...] cpan.org using -f
In-Reply-To: <rt-3.6.HEAD-16493-1179833325-220.27222-6-0 [...] rt.cpan.org>
Received-SPF: neutral (x1.develooper.com: local policy)
References: <RT-Ticket-27222 [...] rt.cpan.org> <rt-3.6.HEAD-16518-1179794040-1346.27222-6-0 [...] rt.cpan.org> <54563.80.229.93.1.1179824466.squirrel [...] webmail.suretecsystems.com> <rt-3.6.HEAD-16500-1179824497-247.27222-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-16488-1179825526-1896.27222-6-0 [...] rt.cpan.org> <54134.80.229.93.1.1179829018.squirrel [...] webmail.suretecsystems.com> <rt-3.6.HEAD-16518-1179829632-50.27222-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-16488-1179831300-1967.27222-6-0 [...] rt.cpan.org> <58826.80.229.93.1.1179832530.squirrel [...] webmail.suretecsystems.com> <rt-3.6.HEAD-16473-1179832568-215.27222-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-16493-1179833325-220.27222-6-0 [...] rt.cpan.org>
Importance: Normal
Content-Type: text/plain; charset="utf-8"
X-Scan-Signature: 5470b908558a2b788d051272c7287a18
X-RT-Original-Encoding: iso-8859-1
X-Spam-Score: -1.4 (-)
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id B5AF54D8182 for <bug-DateTime-Format-Pg [...] rt.cpan.org>; Tue, 22 May 2007 09:43:52 -0400 (EDT)
Received: (qmail 27197 invoked by alias); 22 May 2007 13:43:52 -0000
Received: from ptb-relay03.plus.net (HELO ptb-relay03.plus.net) (212.159.14.214) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Tue, 22 May 2007 06:43:45 -0700
Received: from [80.229.93.1] (helo=suretecsystems.com) by ptb-relay03.plus.net with esmtp (Exim) id 1HqUeI-0007mq-6H for bug-DateTime-Format-Pg [...] rt.cpan.org; Tue, 22 May 2007 14:43:38 +0100
Received: from localhost ([127.0.0.1] helo=suretecsystems.com) by suretecsystems.com with esmtp (Exim 4.63) (envelope-from <ghenry [...] cpan.org>) id 1HqUeB-0000Op-31; Tue, 22 May 2007 14:43:37 +0100
Received: (from apache [...] localhost) by suretecsystems.com (8.13.8/8.13.8/Submit) id l4MDhU5o001538; Tue, 22 May 2007 14:43:30 +0100
Received: from 80.229.93.1 (SquirrelMail authenticated user suretec) by webmail.suretecsystems.com with HTTP; Tue, 22 May 2007 14:43:30 +0100 (BST)
Delivered-To: cpan-bug+datetime-format-pg [...] diesel.bestpractical.com
User-Agent: SquirrelMail/1.4.10a-1.fc6
Subject: Re: [rt.cpan.org #27222] parse_interval will not parse '-100:33:00'
Return-Path: <ghenry [...] cpan.org>
X-Spam-Report: Spam detection software, running on the system "dax", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: <quote who="via RT"> > > <URL: http://rt.cpan.org/Ticket/Display.html?id=27222 > > > Now it should handle hours with two digits (with a preceding 0, if less > than 10), or an arbitrary number of digits >= 3. > > Just uploaded it to CPAN. > [...] Content analysis details: (-1.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.4 ALL_TRUSTED Passed through trusted hosts only via SMTP
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: bug-DateTime-Format-Pg [...] rt.cpan.org
X-Priority: 3 (Normal)
Date: Tue, 22 May 2007 14:43:30 +0100 (BST)
Message-Id: <63433.80.229.93.1.1179841410.squirrel [...] webmail.suretecsystems.com>
To: bug-DateTime-Format-Pg [...] rt.cpan.org
Content-Transfer-Encoding: 8bit
From: "Gavin Henry" <ghenry [...] cpan.org>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-16473-1179841438-483.27222-0-0 [...] rt.cpan.org>
Content-Length: 296
Download (untitled) / with headers
text/plain 296b
<quote who="via RT"> Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=27222 > > > Now it should handle hours with two digits (with a preceding 0, if less > than 10), or an arbitrary number of digits >= 3. > > Just uploaded it to CPAN. >
Looks ok. It's handling -70:11:00. Nice work! Thanks.
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-16473-1179841438-483.27222-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
References: <RT-Ticket-27222 [...] rt.cpan.org> <rt-3.6.HEAD-16518-1179794040-1346.27222-6-0 [...] rt.cpan.org> <54563.80.229.93.1.1179824466.squirrel [...] webmail.suretecsystems.com> <rt-3.6.HEAD-16500-1179824497-247.27222-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-16488-1179825526-1896.27222-6-0 [...] rt.cpan.org> <54134.80.229.93.1.1179829018.squirrel [...] webmail.suretecsystems.com> <rt-3.6.HEAD-16518-1179829632-50.27222-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-16488-1179831300-1967.27222-6-0 [...] rt.cpan.org> <58826.80.229.93.1.1179832530.squirrel [...] webmail.suretecsystems.com> <rt-3.6.HEAD-16473-1179832568-215.27222-6-0 [...] rt.cpan.org> <rt-3.6.HEAD-16493-1179833325-220.27222-6-0 [...] rt.cpan.org> <63433.80.229.93.1.1179841410.squirrel [...] webmail.suretecsystems.com> <rt-3.6.HEAD-16473-1179841438-483.27222-0-0 [...] rt.cpan.org>
Message-Id: <rt-3.6.HEAD-16509-1179856769-444.27222-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf8"
Content-Transfer-Encoding: binary
From: DMAKI [...] cpan.org
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 37
Cool, will close this ticket, then.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.