projects
/
mythtv-status.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bfbb51
)
Only use ISODate if it is defined.
author
Andrew Ruthven
<andrew@etc.gen.nz>
Sun, 27 Oct 2013 19:35:32 +0000
(08:35 +1300)
committer
Andrew Ruthven
<andrew@etc.gen.nz>
Sun, 27 Oct 2013 19:35:32 +0000
(08:35 +1300)
bin/mythtv-status
patch
|
blob
|
history
diff --git
a/bin/mythtv-status
b/bin/mythtv-status
index 151b0f308750f7e870511f50fcff3b1b23cb6773..917a6b1054b4bb5f56d257b5c9743900737a4041 100755
(executable)
--- a/
bin/mythtv-status
+++ b/
bin/mythtv-status
@@
-214,7
+214,7
@@
my @blocks = (
'&date' => sub {
my ($value, $vars) = @_;
- if ($vars->{ISODate} =~ /Z$/) {
+ if (
defined $vars->{ISODate} &&
$vars->{ISODate} =~ /Z$/) {
return process_iso_date($vars->{ISODate});
} else {
return $vars->{date} . ", " . $vars->{time};