Bug #683

%a broken in rename

Added by Göran Uddeborg about 9 years ago. Updated over 8 years ago.

Status:ClosedStart date:16 Feb 2010
Priority:NormalDue date:
Assignee:-% Done:


Target version:0.20


There is something strange with %a handling in exiv2:

mimmi$$ exiv2 p2060012.jpg | grep timestamp
Image timestamp : 2010:02:06 15:08:57
mimmi$$ exiv2 -r %Y-%m-%d-%a p2060012.jpg
mimmi$$ ls

But 6:th of February this year was a Saturday, not a Sunday!

It appears to be specific to exiv2. Plain date doesn't have the same problem:

mimmi$$ date +%Y-%m-%d-%a --date '2010-02-06 15:08:57'

This is with exiv2 0.18.2 on a Fedora system.

p2060012.jpg - The photo I used in the example (785 KB) Göran Uddeborg, 16 Feb 2010 11:23

Associated revisions

Revision 2030
Added by Andreas Huggel about 9 years ago

#683: Fixed -r conversions for weekday and day of year.


#1 Updated by Andreas Huggel about 9 years ago

  • Category set to tools
  • Status changed from New to Resolved
  • Target version set to 0.20
  • % Done changed from 0 to 100

Fixed with r2030, also %j. Thanks for reporting!

#2 Updated by Andreas Huggel over 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux