From: Andrew Ruthven Date: Sat, 9 Feb 2013 10:44:10 +0000 (+1300) Subject: Sadly %x doesn't use the locale to determine the format, it uses US by default. X-Git-Tag: 0.10.4~11 X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8832fa7814344ec24bea9fd28ef0f19a6d5aeb05;p=mythtv-status.git Sadly %x doesn't use the locale to determine the format, it uses US by default. Let's force it back to a more consistent ISO format. --- diff --git a/bin/mythtv-status b/bin/mythtv-status index dfa447a..f000283 100755 --- a/bin/mythtv-status +++ b/bin/mythtv-status @@ -950,7 +950,7 @@ sub process_iso_date { # Sample of what MythTV uses: # Thu 18 Oct 2012, 10:20 - return $d->printf("%x, %X"); + return $d->printf("%Y-%m-%d %X"); } sub substitute_vars {