Follow-up r91770: only translate when possible
This commit is contained in:
parent
e9e0bf8cc1
commit
49df111ae3
1 changed files with 1 additions and 1 deletions
|
|
@ -3018,7 +3018,7 @@ class Language {
|
|||
}
|
||||
}
|
||||
// If no duration is given, but a timestamp, display that
|
||||
return $this->timeanddate( $str );
|
||||
return ( strtotime( $str ) ? $this->timeanddate( strtotime( $str ) ) : $str );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue