bugGNU Octave - Bugs: bug #48071, datestr with formatting option 16...

 
 

bug #48071: datestr with formatting option 16 returning incorrect format

Submitted by:  None
Submitted on:  Tue 31 May 2016 10:52:04 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 4.0.2
Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 01 Jun 2016 05:00:13 AM UTC, comment #2:

I fixed this on the development branch here (http://hg.savannah.gnu.org/hgweb/octave/rev/50f49dcae277). This will be a part of the 4.2 release.

If you need the fix sooner you can just download the datestr.m file from the Mercurial repo and copy it in to your path.

Rik <rik5>
Project Administrator
Wed 01 Jun 2016 02:54:50 AM UTC, comment #1:

Confirmed. Setting Item Group to Matlab Compatibility.

Rik <rik5>
Project Administrator
Tue 31 May 2016 10:52:04 PM UTC, original submission:

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,
returns
but it should return

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 01 Jun 2016 05:00:13 AM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Wed 01 Jun 2016 02:54:50 AM UTCrik5Item GroupNone=>Matlab Compatibility
      StatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1