fbgallet / roam-extension-calendar

MIT License
7 stars 0 forks source link

Support for 12 hour timestamps #2

Open wireframe opened 1 week ago

wireframe commented 1 week ago

Would it be possible to support 12 hour timestamp format (ie: AM/PM)?

I've worked with the google calendar and Nautulis Roam extensions which both support 12 hour timestamp formats. Would there be a possibility for code reuse? example: https://github.com/search?q=repo%3Atombarys%2Froam-depot-nautilus%20time%20parse&type=code

fbgallet commented 3 days ago

Hi, currently you can display timestamps in 12h format in the calendar, but you can only input manually 24h time format and the timestamp recorded in the Roam block will always be in 24h format.

I take note of your feature request, it shouldn't be hard to implement, i will try to add it to the next update. Thanks for the code snippet from Nautilus but Full Calendar is a React/JavaScript app, not a Clojure one.