1
#! /bin/sh /usr/share/dpatch/dpatch-run
3
## last-changed-date-charset by <peter@p12n.org>
5
## DP: Convert $LastChangedDate$ keyword to the local character set.
9
diff -urN a/subversion/libsvn_subr/subst.c b/subversion/libsvn_subr/subst.c
10
--- a/subversion/libsvn_subr/subst.c
11
+++ b/subversion/libsvn_subr/subst.c
14
case 'D': /* long format of date of this revision */
16
- svn_stringbuf_appendcstr(value,
17
- svn_time_to_human_cstring(date, pool));
20
+ char *date_utf8 = svn_time_to_human_cstring (date, pool);
21
+ svn_utf_cstring_from_utf8(&date_keyword, date_utf8, pool);
22
+ svn_stringbuf_appendcstr(value, date_keyword);
25
case 'r': /* number of this revision */