From 8832fa7814344ec24bea9fd28ef0f19a6d5aeb05 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Sat, 9 Feb 2013 23:44:10 +1300 Subject: [PATCH] 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. --- bin/mythtv-status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.30.2