Open shalak opened 2 years ago
from my testing, it works if you pass AM/PM after 12 but not sure if that's what you're looking for.
from my testing, it works if you pass AM/PM after 12 but not sure if that's what you're looking for.
Not really. I don't use 12h hour format. Thanks for the tip, though.
The reason that the time wasn't parsed as mentioned is that the time directives defined here don't have a time format with only an hour string. If it would contain %H
or %I
as a directive option, the time would have been parsed in 24 hr and 12 hr formats respectively.
Apparently, there is currently no way to specify additional time formats or change the order of these time formats. This could be a potential feature I believe. I can try working on this, but let other people also chime in with their suggestions.
Hello!
I don't know if I'm missing something, or not. Is there a way to parse
tomorrow at 12
and have the lib assume the minutes value? (i.e. have the same result astomorrow at 12:00
?)Currently it looks like it completely ignores the hour: