[Calendar module] formatter:{} setting not working properly when the Type: setting is set to "datetime" #1645
-
Bug ReportWhen customizing the date format in Calendar module, hour:minutes are always showed, even if the formatter:{} function returns nothing. Steps to reproduce
Expected resultThe calendar field should show nothing Actual resultDate/Hour of selected date Testcasehttps://jsfiddle.net/6Ltz0ncv/3/ Screenshot (when possible)Version2.8.6 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You are using the wrong formatter: You used |
Beta Was this translation helpful? Give feedback.
-
Really stupid error. Thanks a lot! 👍 |
Beta Was this translation helpful? Give feedback.
You are using the wrong formatter: You used
date
formatter, butdatetime
as type.If you are using
datetime
as formatter, it works as expectedSee your adjusted jsfiddle here https://jsfiddle.net/lubber/9sq3zryL/1/