ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Cohen" <>
Subject RE: Timestamp attribute processing
Date Tue, 02 Sep 2003 11:39:06 GMT
Actually, what about the TSTAMP formats?  These are probably the most common in Ant.  I think
what I will do is accept either "yyyyMMdd hhmm" or "yyyyMMdd"
unless user specifies something else.  It's not much harder to do this than to enforce one
person's idea of the "right way".

-----Original Message-----
From:	Stefan Bodewig []
Sent:	Tue 9/2/2003 2:11 AM
Subject:	Re: Timestamp attribute processing
there also is a datetime attribute in <touch>.  Would be nice to unify
them - at least Java code wise.

On Mon, 1 Sep 2003, Antoine Levy-Lambert <> wrote:

> (with a hardcoded US locale, looks like the europeans (continentals)
> are not allowed to enter DD-MM-YYYY dates, MM-DD-YYYY is preferred.

The reason is that you don't have to care about the user's locale
(user being the one who runs the build script).  For a reason unknown
to me, cron on RedHat 7.3 doesn't use the default locale of the
installed OS for example.

<OT>I could easily patch its environment but I've come to like the
fact that my code gets compiled and run on a different locale than my
default locale in nightly builds.  This has caught some locale
dependencies in my code in the past.</OT>.


To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message