]> git.etc.gen.nz Git - mythtv-status.git/commitdiff
Sadly %x doesn't use the locale to determine the format, it uses US by default.
authorAndrew Ruthven <andrew@etc.gen.nz>
Sat, 9 Feb 2013 10:44:10 +0000 (23:44 +1300)
committerAndrew Ruthven <andrew@etc.gen.nz>
Sat, 9 Feb 2013 10:44:10 +0000 (23:44 +1300)
Let's force it back to a more consistent ISO format.

bin/mythtv-status

index dfa447a160398f8968cf340385a9847a7a287f82..f0002831ed95786a4e1749feeb4c593cdfca2920 100755 (executable)
@@ -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 {