Skip Menu |

This queue is for tickets about the Date-Manip CPAN distribution.

Report information
The Basics
Id: 119787
Status: resolved
Priority: 0/
Queue: Date-Manip

People
Owner: Nobody in particular
Requestors: robert.j.wohlfarth [...] Vanderbilt.Edu
Cc:
AdminCc:

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



Subject: Bug report
Date: Tue, 10 Jan 2017 15:33:39 +0000
To: "bug-Date-Manip [...] rt.cpan.org" <bug-Date-Manip [...] rt.cpan.org>
From: "Wohlfarth, Robert J" <robert.j.wohlfarth [...] Vanderbilt.Edu>
Distribution: Date-Manip-6.57 Perl: 5.24.0 OS: Linux 3.10.0-514.el7.x86_64 #1 SMP Wed Oct 19 11:24:13 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux Issue: The "%e" printf directive includes a leading zero on days 1-9. The documentation says that it should have a leading space instead. Example: # perl -MDate::Manip -e 'print UnixDate("05/09/2017","%d")' 09 # perl -MDate::Manip -e 'print UnixDate("05/09/2017","%e")' 09 The first command is expected - "%d" prints a leading zero. The second command expected " 9" instead of "09". Robert Wohlfarth Computer Systems Analyst III | Center for Patient and Professional Advocacy Vanderbilt University Medical Center | 2135 Blakemore Ave. | Nashville, TN 37212 Phone: 615-343-0828 | Fax: 615-343-8580 http://www.mc.vanderbilt.edu/cppa Like<https://www.facebook.com/pages/Center-for-Patient-and-Professional-Advocacy-at-Vanderbilt/132537410163693?sk=wall> us on Facebook
Thanks for the report. This is fixed and will be in the next version.