[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45592] strftime problem with %z
From: |
Vic Norton |
Subject: |
[Octave-bug-tracker] [bug #45592] strftime problem with %z |
Date: |
Mon, 20 Jul 2015 21:42:38 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/600.7.12 (KHTML, like Gecko) Version/7.1.7 Safari/537.85.16 |
URL:
<http://savannah.gnu.org/bugs/?45592>
Summary: strftime problem with %z
Project: GNU Octave
Submitted by: vicnorton
Submitted on: Mon 20 Jul 2015 09:42:37 PM GMT
Category: Libraries
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name: Vic Norton
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.8.2
Operating System: Any
_______________________________________________________
Details:
The commands
printf(" %sn", strftime("%Y-%m-%d %X %Z", gmtime(1420027200)));
printf(" %sn", strftime("%Y-%m-%d %X %Z", gmtime(1435665600)));
printf(" %sn", strftime("%Y-%m-%d %X %Z", gmtime(1451563200)));
but
printf(" %sn", strftime("%Y-%m-%d %X %z", gmtime(1420027200)));
printf(" %sn", strftime("%Y-%m-%d %X %z", gmtime(1435665600)));
printf(" %sn", strftime("%Y-%m-%d %X %z", gmtime(1451563200)));
give gibberish in the time zone field.
See
<http://search.cpan.org/~dexter/POSIX-strftime-GNU-0.0301/lib/POSIX/strftime/GNU.pm>.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45592>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #45592] strftime problem with %z,
Vic Norton <=