Re: svn propset keywords Date
From: Ryan Schmidt <subversion-2010a_at_ryandesign.com>
Date: Sun, 24 Jan 2010 16:26:03 -0600
On Jan 24, 2010, at 07:54, Johan Hogdahl wrote:
> Hello.
The only way I know to influence the way the Date keyword expands is to set the LANG (or LC_ALL or LC_TIME) environment variable to the locale you want to use for the date format, at the time the keyword is expanded by the client (i.e. at the time you issue the "svn ci" or "svn up" command). Setting LANG or LC_ALL will influence all localizable settings, including informational and error messages; if you don't want to change the locale of those, set just LC_TIME to affect just date and time formats. You could pick a locale name like "en_US.UTF-8" (or whatever it's called on your system) or just use the "C" locale which pretty assuredly won't contain any weird characters that will confuse your compiler. Example from my Mac OS X system:
$ LANG=sv_SE.UTF-8
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.