mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-27 22:46:04 +00:00
add 2 time formats
This commit is contained in:
@@ -39,7 +39,8 @@ class DateTime
|
||||
protected $timeFormats = array(
|
||||
'HH:mm' => 'H:i',
|
||||
'hh:mm A' => 'h:i A',
|
||||
'hh:mm a' => 'h:i a',
|
||||
'hh:mm a' => 'h:ia',
|
||||
'hh:mmA' => 'h:iA',
|
||||
);
|
||||
|
||||
public function __construct($dateFormat = 'YYYY-MM-DD', $timeFormat = 'HH:mm', $timeZone = 'UTC')
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
},
|
||||
"timeFormat": {
|
||||
"type": "enum",
|
||||
"options": ["HH:mm", "hh:mm A", "hh:mm a"],
|
||||
"options": ["HH:mm", "hh:mma", "hh:mmA", "hh:mm A", "hh:mm a"],
|
||||
"default": "HH:mm"
|
||||
},
|
||||
"weekStart": {
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
},
|
||||
"timeFormat": {
|
||||
"type": "enum",
|
||||
"options": ["HH:mm", "hh:mm A", "hh:mm a"],
|
||||
"options": ["HH:mm", "hh:mma", "hh:mmA", "hh:mm A", "hh:mm a"],
|
||||
"default": "HH:mm"
|
||||
},
|
||||
"weekStart": {
|
||||
|
||||
Reference in New Issue
Block a user