[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#417261: dch: please use dates in UTC

On Mon, Apr 02, 2007 at 03:11:23PM +0200, Stefano Zacchiroli wrote:
> I share the feeling of "niceness" of the personal touch, but this isn't
> a technical reason, and the point of uniforming a timezone so that it's
> easier to compare dates among different changelog is definitely a valid
> one.

It *is* easy to compare dates among different changelogs.

zcat /usr/share/doc/*/changelog.Debian.gz | sed -e '/^ --/!d;s/^.*>  //' | \
	while read i; do date -d "$i" +%s; done | sort -n

There, a sorted list of the unix timestamps of the dates on which *all*
the changelog entries of *all* Debian packages on your system were done.
Might take a while to run, though :)

And heck, even if you're not a command line guru, normalizing an RFC822
date by hand isn't exactly hard.

Sun, 31 Dec 2006 14:40:46 +0100

You didn't fail basic math, did you? ;-)

<Lo-lan-do> Home is where you have to wash the dishes.
  -- #debian-devel, Freenode, 2004-09-22

Reply to: