[ELDK] [PATCH] Make build timestamp configurable

Detlev Zundel dzu at denx.de
Thu Oct 28 14:38:31 CEST 2010


Hi Wolfgang,

> Make both the file name and the format string for the build timestamp
> configurable; by providing an empty file name this feature can also be
> switched off.

Both ideas are good ones.  The only thing which I do not really like is
that you do not use any of the common formats for date/time stamps.
Although it looks to be a little bit harder to parse - what about a
format corresponding to rfc-2822:

dzu at ohwell:~[0]$ date  --rfc-2822
Thu, 28 Oct 2010 14:36:32 +0200

If that's not to your liking, what about this:

dzu at ohwell:~[0]$ date  --rfc-3339=seconds
2010-10-28 14:36:35+02:00

This is your format with the addition of the timezone information, which
I really like.

Cheers
  Detlev

-- 
WARNING: The external boundaries of India as depicted in map(s) are neither
correct nor authentic.  Other external boundaries as depicted in the map(s)
may neither be correct nor authentic.
                                                 -- Garmin MapSource manual
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de


More information about the eldk mailing list