vdr-1.3.23: Show localized date in timer edit menu
Commit Message
Hello,
the attached patch displays a localized date in the timer edit menu
instead of the yyyy-mm-dd format. Tested with german locale under SuSE 9.0.
Wolfgang
===================================================================
@@ -578,7 +578,7 @@
else if (*value) {
struct tm tm_r;
localtime_r(value, &tm_r);
- strftime(buf, DATEBUFFERSIZE, "%Y-%m-%d ", &tm_r);
+ strftime(buf, DATEBUFFERSIZE, "%x ", &tm_r);
strcat(buf, WeekDayName(tm_r.tm_wday));
}
else