Actions
Defect #6656
closedMercurial adapter loses seconds of commit times
Start date:
2010-10-13
Due date:
% Done:
100%
Estimated time:
Resolution:
Fixed
Affected version:
Description
This issue is reported at note-85 of #4455 .
As I described at note-86 of #4455 , template keyword at source:tags/1.0.2/lib/redmine/scm/adapters/mercurial/hg-template-1.0.tmpl#L4 is isodate
.isodatesec
is supported since Mercurial revision 8999d1249171 , which means Mercurial 1.0 has it.
Following is hg log
output of source:/tags/1.0.2/test/fixtures/repositories/mercurial_repository.tar.gz .
$ hg log -r 76bce72867b1 --template='{date|isodate}\n' 2007-12-14 16:15 +0100 $ hg log -r 76bce72867b1 --template='{date|isodatesec}\n' 2007-12-14 16:15:51 +0100
There are my patches at following links.
- http://www.redmine.org/attachments/4219/hg-isodatesec.patch
- http://bitbucket.org/yuja/redmine-mq-issue4455/src/d6bc15c54f5d/hg-isodatesec.patch
I pushed it to my github repository.
- http://github.com/marutosi/redmine/commits/hg-isodatesec
- http://github.com/marutosi/redmine/commits/c60463816bd02fbadb61
English locale does not show seconds, but Italian locale shows seconds.
I post Italian locale images.
Before patch applied¶
After patch applied¶
Files
Actions