mdehoog / Semantic-UI-Calendar

Calendar module for Semantic UI
MIT License
805 stars 127 forks source link

How to provide own formatter when I'm on popup date/time selection (for input/result area)? #95

Open stalek71 opened 7 years ago

stalek71 commented 7 years ago

I provided own formatter for datetime property and it formats date when I selected something on popup (after closing popup). The issue is while I'm choosing date, hour and minute on popup then (in the meantime) it presents chosen value on input/result box in raw format (looks like usage of toString() function only for selected value). I provided formatter for Polish language/culture but control shows US date/time on result box with day name of first position, then month and day number and so on. I don't need seconds also, but I don't see any possibility to disable it the way so they don't appear during "selection" stage in the result box.

How to provide own formatter during selection/popup time for result box (input html elem)?