Skip Menu |

This queue is for tickets about the Chart-Strip CPAN distribution.

Report information
The Basics
Id: 72434
Status: open
Priority: 0/
Queue: Chart-Strip

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

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



Subject: Bad date format in x-axis labels
The format for the date/time labels for the X-axis are hard-codes US/ American style. A nice module, easy to use, but US-style date formats are not acceptable in Europe, and there is no way to overwrite the format
actually, this module does not use the standard (and ambiguous) American date format "10/11". instead it uses the unabiguous "10/Nov" format. It uses the standard strftime() function to generate these labels, which is locale aware. your locale can be configured via the POSIX::setlocale() function or via various LC_* environment variables. See your manual for details.
Subject: Re: [rt.cpan.org #72434] Bad date format in x-axis labels
Date: Tue, 15 Nov 2011 16:59:25 +0100
To: bug-Chart-Strip [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Tue, 15 Nov 2011 10:53:37 -0500, "Jeff Weisberg via RT" <bug-Chart-Strip@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=72434 > > > actually, this module does not use the standard (and ambiguous) American > date format "10/11". instead it uses the unabiguous "10/Nov" format. It > uses the standard strftime() function to generate these labels, which > is locale aware. your locale can be configured via the POSIX::setlocale() > function or via various LC_* environment variables. See your manual > for details.
Then is still uses the *fixed* '/' as separator, which is extremely unusual in e.g. the Netherlands Ok, my statement was too harsh. sorry, but I start flipping when software imposes wrong formats on me like Letter paper format instead of A4 even when my locale is set correctly (wink to LibreOffice) or date/time formats (looking at LANG or LC_ALL instead of LC_TIME). -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using 5.00307 through 5.14 and porting perl5.15.x on HP-UX 10.20, 11.00, 11.11, 11.23 and 11.31, OpenSuSE 10.1, 11.0 .. 11.4 and AIX 5.2 and 5.3. http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/