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 [mailto:[EMAIL PROTECTED] Sent: Tue 9/2/2003 2:11 AM To: [EMAIL PROTECTED] Cc: 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 <[EMAIL PROTECTED]> 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>. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]