Skip Menu |
 

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

Report information
The Basics
Id: 95447
Status: resolved
Priority: 0/
Queue: Time-Format

People
Owner: eric.roode.cpan [...] gmail.com
Requestors: perl [...] greerga.m-l.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.14



MIME-Version: 1.0
X-Authentication-Warning: ein.m-l.org: greerga owned process doing -bs
X-Spam-Status: No, score=-1.9 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9] autolearn=ham
X-Spam-Flag: NO
content-type: TEXT/PLAIN; charset="utf-8"; format="flowed"
Message-ID: <alpine.LFD.2.11.1405071159490.14464 [...] ein.m-l.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Virus-Scanned: Debian amavisd-new at shell.3z.net
X-X-Sender: greerga [...] ein.m-l.org
X-Spam-Score: -1.9
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 55D8A2407E3 for <cpan-bug+Time-Format [...] hipster.bestpractical.com>; Wed, 7 May 2014 12:09:26 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P5Opk9I8ARa0 for <cpan-bug+Time-Format [...] hipster.bestpractical.com>; Wed, 7 May 2014 12:09:24 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 4C5B32407D6 for <bug-Time-Format [...] rt.cpan.org>; Wed, 7 May 2014 12:09:24 -0400 (EDT)
Received: (qmail 19262 invoked by alias); 7 May 2014 16:09:23 -0000
Received: from shell.3z.net (HELO shell.3z.net) (69.4.64.24) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Wed, 07 May 2014 09:09:21 -0700
Received: from localhost (localhost [127.0.0.1]) by shell.3z.net (Postfix) with ESMTP id A786F15FAFC for <bug-Time-Format [...] rt.cpan.org>; Wed, 7 May 2014 12:08:53 -0400 (EDT)
Received: from shell.3z.net ([127.0.0.1]) by localhost (shell.3z.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a6bapq4pO8Nf for <bug-Time-Format [...] rt.cpan.org>; Wed, 7 May 2014 12:08:53 -0400 (EDT)
Received: from m-l.org (dsl-69-4-72-106.3z.net [69.4.72.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by shell.3z.net (Postfix) with ESMTPS id 857B615F6C3 for <bug-Time-Format [...] rt.cpan.org>; Wed, 7 May 2014 12:08:53 -0400 (EDT)
Received: from ein.m-l.org (localhost [127.0.0.1]) by m-l.org (8.14.8/8.14.7) with ESMTP id s47G9DP2015124 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <bug-Time-Format [...] rt.cpan.org>; Wed, 7 May 2014 12:09:14 -0400
Received: from localhost (greerga [...] localhost) by ein.m-l.org (8.14.8/8.14.8/Submit) with ESMTP id s47G9B0r015121 for <bug-Time-Format [...] rt.cpan.org>; Wed, 7 May 2014 12:09:12 -0400
Delivered-To: cpan-bug+Time-Format [...] hipster.bestpractical.com
User-Agent: Alpine 2.11 (LFD 23 2013-08-11)
Subject: 1.12: Bug formatting times with fractional seconds
Return-Path: <perl [...] greerga.m-l.org>
X-RT-Mail-Extension: time-format
X-Original-To: cpan-bug+Time-Format [...] hipster.bestpractical.com
X-Spam-Check-BY: la.mx.develooper.com
Date: Wed, 7 May 2014 12:09:10 -0400 (EDT)
X-Spam-Level:
To: bug-Time-Format [...] rt.cpan.org
From: George Greer <perl [...] greerga.m-l.org>
X-RT-Original-Encoding: ascii
X-RT-Interface: Email
Content-Length: 381
Download (untitled) / with headers
text/plain 381b
- - - 8< - - - 8< - - - perl -MTime::Format -e 'print time_format "ymd", 1399092712.49' Unrecognized DateTime string "1399092712.49": probable Time::Format bug at (eval 1) line 248, <DATA> line 1. - - - 8< - - - 8< - - - The regexp splits it as date="13990927" and time="12.49". Workaround I'm using is moving the numeric time match before the datetime match. -- George Greer
MIME-Version: 1.0
In-Reply-To: <alpine.LFD.2.11.1405071159490.14464 [...] ein.m-l.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <alpine.LFD.2.11.1405071159490.14464 [...] ein.m-l.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-24350-1563900652-893.95447-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 107
Download (untitled) / with headers
text/plain 107b
Should be resolved in v1.14. I took the submitter's advice and rearranged the conditions in classify_time.


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.