Bug#486594: timestamps

James McCoy jamessan at debian.org
Sun Dec 1 12:45:33 UTC 2013


On Sun, Dec 01, 2013 at 10:57:30AM +0000, Julian Gilbey wrote:
> On Sun, Dec 01, 2013 at 12:00:51AM -0500, James McCoy wrote:
> > > Since there seems to be no way to feed a "%s" value to date, I
> > > decided to use strftime(), and thus get rid of the date -R
> > > invocation. It seems to me that globally setting the locale to "C"
> > > doesn't cause trouble ("dch Ìnîtíãl release." is fine) but I may be
> > > wrong. However, there could be a better solution with the
> > > Email::Date::Format package ; it takes care of formatting time
> > > according to RFC 2822 and doesn't touch the locale. It does exactly
> > > what we want in a clean way, so it's probably worth depending on it.
> > 
> > That does look useful, but if there aren't any side effects to setting
> > LC_TIME, I'd prefer that over adding a dependency.  It's still simple
> > enough code.
> 
> I personally prefer the locale-aware dates in the changelog: when I
> look at my own changelogs, I sometimes want to know when I wrote them;

This suggested change only ensures the text is in English.  It doesn't
change what timezone is reported for the timestamp.

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20131201/dd0ce83f/attachment-0001.sig>


More information about the devscripts-devel mailing list