mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Datetime recognises input datetime format
This commit is contained in:
@@ -114,7 +114,8 @@ angular.module('order_cycle', ['ngResource']).
|
||||
// using $parse instead of scope[attrs.datetimepicker] for cases
|
||||
// where attrs.datetimepicker is 'foo.bar.lol'
|
||||
$(element).datetimepicker({
|
||||
dateFormat: Spree.translations.date_picker,
|
||||
dateFormat: 'yy-mm-dd',
|
||||
timeFormat: 'HH:mm:ss',
|
||||
showOn: "button",
|
||||
buttonImage: "<%= asset_path 'datepicker/cal.gif' %>",
|
||||
buttonImageOnly: true,
|
||||
|
||||
Reference in New Issue
Block a user