Skip to content

Commit a97a961

Browse files
committed
set the date format to year-month-day
1 parent b2b2909 commit a97a961

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

resources/fieldsets/event.yaml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ fields:
3636
dictionary: month_day_recurrence
3737
type: dictionary
3838
display: 'Which Day(s)'
39-
width: 100
4039
if:
4140
recurrence: 'equals monthly'
4241
-
@@ -67,14 +66,15 @@ fields:
6766
allow_blank: false
6867
allow_time: false
6968
require_time: false
70-
input_format: M/D/YYYY
69+
input_format: YYYY/M/D
7170
width: 50
7271
display: 'Start Date'
7372
inline: true
7473
full_width: true
7574
unless_any:
7675
multi_day: 'equals true'
7776
recurrence: 'equals multi_day'
77+
format: Y-m-d
7878
-
7979
handle: end_date
8080
field:
@@ -90,6 +90,7 @@ fields:
9090
inline: true
9191
if:
9292
recurrence: 'contains_any daily, weekly, monthly, every'
93+
format: Y-m-d
9394
-
9495
handle: start_time
9596
field:
@@ -130,9 +131,10 @@ fields:
130131
allow_blank: false
131132
allow_time: false
132133
require_time: false
133-
input_format: M/D/YYYY
134+
input_format: YYYY/M/D
134135
width: 25
135136
display: Date
137+
format: Y-m-d
136138
-
137139
handle: start_time
138140
field:
@@ -184,5 +186,6 @@ fields:
184186
allow_blank: false
185187
allow_time: false
186188
require_time: false
187-
input_format: M/D/YYYY
189+
input_format: YYYY/M/D/YYYY
188190
display: Date
191+
format: Y-m-d

0 commit comments

Comments
 (0)