Datetimepicker default value

Jump to: navigation, search

When I have an input of the native SF type datetime, it accepts this default value "1/1/2011 7:30:00 PM", when I use datetimepicker, it does not, as it's requiring the notation to be in yyyy/mm/dd hh:mm. It's probably best if SFI used the same parsing code as SF here, to avoid such inconsistencies.

Jeroen De Dauw16:17, 28 February 2011

Huh, even when using yyyy/mm/dd hh:mm, it's just showing the value for yyyy as default. This is happening for MW+SMW+SF+SFI trunk.

Jeroen De Dauw16:21, 28 February 2011

True, and don't ask me how it got in. Will fix it tonight. Really stupid error, too - tried to use + to concatenate strings in PHP.

F.trott15:42, 1 March 2011

Fixed it in r83050.

F.trott22:10, 1 March 2011

Awesome, thanks. Will update the wiki where I'm using this soonish and let you know if I encounter any further problems :)

Jeroen De Dauw02:40, 3 March 2011