bevacqua / rome

:calendar: Customizable date (and time) picker. Opt-in UI, no jQuery!
https://bevacqua.github.io/rome
MIT License
2.91k stars 223 forks source link

ISO 8601 #143

Closed gr0uch closed 8 years ago

gr0uch commented 8 years ago

The docs don't make it clear how to output the calendar selection as a ISO 8601 string. I tried setting inputFormat but how to specifically output ISO 8601? I expected this to work:

{ inputFormat: rome.moment.ISO_8601 }
gr0uch commented 8 years ago

Nevermind, this works:

{ inputFormat: null }

That was not intuitive at all :(