kvh / recurrent

Natural language parsing of dates and recurring events
MIT License
249 stars 30 forks source link

"12p" and "12pm" parsed to BYHOUR=12 and BYHOUR=24, respectively #14

Closed itdaniher closed 4 years ago

itdaniher commented 4 years ago
>>> recurrent.RecurringEvent().parse("daily at 12p")
'RRULE:BYHOUR=12;BYMINUTE=0;INTERVAL=1;FREQ=DAILY'
>>> recurrent.RecurringEvent().parse("daily at 12pm")
'RRULE:BYHOUR=24;BYMINUTE=0;INTERVAL=1;FREQ=DAILY'

expected result is both parse to BYHOUR=12

snoopyjc commented 4 years ago

Fixed in https://github.com/kvh/recurrent/pull/19

snoopyjc commented 4 years ago

Fixed in 0.3.0.