]> source.dussan.org Git - nextcloud-server.git/commit
Do not pass numeric strings to strtotime() when formatting dates.
authorAndreas Fischer <bantu@owncloud.com>
Thu, 8 Aug 2013 14:52:11 +0000 (16:52 +0200)
committerAndreas Fischer <bantu@owncloud.com>
Fri, 9 Aug 2013 20:32:38 +0000 (22:32 +0200)
commit9c22046bffac523e1eff12d7eff7409c786de176
tree767a33f80ca56e6e36ab062161eb5cc3e83efb42
parent4c0ec974b9a8b97625695edd136e1f805af0bf31
Do not pass numeric strings to strtotime() when formatting dates.

strtotime() will return false and the date will be formatted as the 0-timestamp
(e.g. January 1, 1970 00:00) otherwise.
lib/l10n.php