[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48071] datestr with formatting option 16 retu
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #48071] datestr with formatting option 16 returning incorrect format |
Date: |
Tue, 31 May 2016 22:52:06 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/601.5.17 (KHTML, like Gecko) Version/9.1 Safari/601.5.17 |
URL:
<http://savannah.gnu.org/bugs/?48071>
Summary: datestr with formatting option 16 returning
incorrect format
Project: GNU Octave
Submitted by: None
Submitted on: Tue 31 May 2016 10:52:04 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.0.2
Operating System: Any
_______________________________________________________
Details:
The format option 16 for datestr should return values such as 8:15 AM and 4:50
PM, but it doesn't give PM times correctly, it leaves the hour in 24-hour
format, like 16:50 PM.
For example,
datestr([7.3656683e+05 7.3650111e+05], 16)
returns
19:55 PM
2:38 AM
but it should return
7:55 PM
2:38 AM
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48071>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #48071] datestr with formatting option 16 returning incorrect format,
anonymous <=