Revisión | 9827a70de02435479f06e0e5e4bc67cd61da41fd (tree) |
---|---|
Tiempo | 2016-12-23 16:47:41 |
Autor | umorigu <umorigu@gmai...> |
Commiter | umorigu |
BugTrack/2410 Parsing date string fallback to strtotime in new plugin
@@ -40,6 +40,8 @@ function plugin_new_inline() | ||
40 | 40 | . '-' . substr('0' . $dm[3], -2) |
41 | 41 | . ' ' . $dm[4]; |
42 | 42 | $timestamp = strtotime($iso8601_date); |
43 | + } else { | |
44 | + $timestamp = strtotime($date); | |
43 | 45 | } |
44 | 46 | if ($timestamp === -1 || $timestamp === FALSE) { |
45 | 47 | return '&new([nodate]){date}: Invalid date string;'; |