itchyny / calendar.vim

A calendar application for Vim
MIT License
1.95k stars 71 forks source link

Support for am/pm #183

Closed rogershijin closed 1 year ago

rogershijin commented 3 years ago

Since I'm in the US, I find it a bit hard to wrap my head around the 24-hour clock. Would you be willing to support inputs like

:EVENT 1:00pm-1:30pm eventname?

miko007 commented 2 years ago

you literally have to add 12 hours if it is pm. should not be that hard...

itchyny commented 1 year ago

I implemented this feature. Any of 1:00 pm, 1:00 PM, 1:00 p.m., 1:00 P.M. and without spaces are supported.

rogershijin commented 1 year ago

Thank you so much!