Inspector cleanup

This commit is contained in:
Nathan Adams
2015-10-15 21:24:05 -05:00
parent e130ec13e2
commit 0b6fa7c64d
13 changed files with 13 additions and 16 deletions

View File

@@ -56,7 +56,7 @@ class Pluf_Form_Field_Datetime extends Pluf_Form_Field
str_pad($day, 2, '0', STR_PAD_LEFT).' '.
str_pad($date['tm_hour'], 2, '0', STR_PAD_LEFT).':'.
str_pad($date['tm_min'], 2, '0', STR_PAD_LEFT).':';
str_pad($date['tm_sec'], 2, '0', STD_PAD_LEFT);
str_pad($date['tm_sec'], 2, '0', STR_PAD_LEFT);
// we internally use GMT, so we convert it to a GMT date.
return gmdate('Y-m-d H:i:s', strtotime($date));