Project

General

Profile

Bug #683

%a broken in rename

Added by Göran Uddeborg almost 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
tools
Target version:
Start date:
16 Feb 2010
Due date:
% Done:

100%

Estimated time:

Description

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
2010-02-06-Sun.jpg

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'
2010-02-06-Sat

This is with exiv2 0.18.2 on a Fedora system.


Files

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

Associated revisions

Revision 2030 (diff)
Added by Andreas Huggel almost 12 years ago

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

History

#1

Updated by Andreas Huggel almost 12 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 11 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF