[[[
new configuration option 'human-timestamp-format-suffix'
* subversion/include/svn_config.h: Added define
SVN_CONFIG_OPTION_HUMAN_TIMESTAMP_FORMAT_SUFFIX
* subversion/libsvn_subr/time.c
(svn_time_to_cstring): Add new configuration
option 'human-timestamp-format-suffix'
* subversion/libsvn_subr/config_file.c
(svn_config_ensure): write default value of 'human-timestamp-format-suffix'
to config file
]]]
Subversion translates keywords:
LastChangedDate, Date
using this constant format of a human explanatory part:
" (%a, %d %b %Y)"
This patch changes constant format to a configuration option.
It is now possible to change a value of 'human-timestamp-format-suffix' option,
located in [miscellany] section of a config file.
If this option is not present, it defaults to a " (%a, %d %b %Y)" string.
If option value is an empty string, a human explanatory part will be an empty string.
Why should one bother to change this option?
You see, expansion of 'LastChangedDate, Date' keywords is affected by locale set on
client's computer.
If locale isn't English (for example, Russian), expanded keyword looks like this:
LastChangedDate: 2005-12-16 16:42:25 +0300 (¦ßTÂ, 16 ¦+¦¦¦¦ 2005)
That is, Russian symbols are UTF-encoded. It is not acceptable in many cases.
I think it is useful to have an option that controls how
'LastChangedDate, Date'
keywords are expanded.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 31 10:28:24 2006