DatetimepickerBundle icon indicating copy to clipboard operation
DatetimepickerBundle copied to clipboard

Allow passing DateTime objects in pickerOptions

Open c960657 opened this issue 10 years ago • 0 comments

It would be convenient if it was possible to specify startDate, endDate and initialDate as PHP DateTime objects rather than having to convert them to strings.

With this PR, ant DateTime objects in pickerOptions are converted to strings in a standard format that is understood by parseDate() in JavaScript.

c960657 avatar Jun 28 '15 22:06 c960657