[issue1799] isodate filter should include seconds

esskov mercurial-bugs at selenic.com
Sun Aug 16 17:18:39 UTC 2009


New submission from esskov <esskov at oncable.dk>:

When using the isodate filter, as in -

hg log --template "{date|isodate}\n"

- only hours and minutes are included, the seconds are omitted, e.g.

2009-08-12 16:05 +0200

I'm not sure if this is intended (i.e. whether this issue is a bug or a
feature-request)?  Anyhow, in my application, which knows how to parse ISO
dates, the truncated accuracy is undesirable.

Also, I believe that most ISO 8601 date parsers would NOT expect the spaces
separating date, time, and time-zone. The more common format is like this:

2000-07-16T19:20:30+01:00

I'm using Mercurial 1.3.1, btw.

----------
messages: 10341
nosy: esskov
priority: feature
status: unread
title: isodate filter should include seconds

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://mercurial.selenic.com/bts/issue1799>
____________________________________________________



More information about the Mercurial-devel mailing list