File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
packages/endpoint-posts/views Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 37
37
name : " publication-date" ,
38
38
values : fieldData (" publication-date" ).value ,
39
39
items : [{
40
- label : __ (" posts.form.published.now" ),
40
+ label : __ (" posts.form.published.now" ) if postStatus != = " published " else fieldData ( " published " ). value | date ( " PPPppp " , { locale : opts . locale }) ,
41
41
value : " now" ,
42
42
checked : true
43
43
}, {
50
50
label : __ (" posts.form.published.label" )
51
51
})
52
52
}]
53
- }) if postStatus != = " published" else input ({
54
- classes : " input--width-10" ,
55
- name : " published" ,
56
- value : fieldData (" published" ).value | localDate (application .timeZone ),
57
- type : " datetime-local" ,
58
- label : __ (" posts.form.published.label" )
59
- }) | indent (4) }}
53
+ }) }}
60
54
61
55
{{ radios ({
62
56
inline : true ,
You can’t perform that action at this time.
0 commit comments