timezone-butler
timezone-butler copied to clipboard
Butler interprets "12:xxpm" as midnight hour, doesn't recognize 'noon' at all
Describe the bug Butler interprets "12:00pm" as midnight. While some might point out that 12:00 is technically neither AM nor PM, computers treat AM as midnight and PM as noon and many people do the same. Plus the behavior is straight-up incorrect for times including 12:01PM-12:59PM, which are not ambiguous at all but are interpreted as though they're 12:01-12:59 AM.
Interestingly you can just type 12:00
by itself and it will interpret that as noon. Not sure what to type right now to get midnight.
To Reproduce Steps to reproduce the behavior:
- Type "12:00pm" in a New York time zone
- User in Los Angeles sees "12:00pm is 9pm in your timezone." and:
- Type "12:01pm" in a New York time zone
- User in Los Angeles sees "12:01pm is 9:01pm in your timezone." and:
- Type "noon" or "midnight"
- Nothing happens
Expected behavior
Butler should treat 12:xx AM as the hour that comes before 01:00 AM
Butler should notice the two keywords noon
and midnight
.
Agree! Please fix this 🙏🏾
12pm = noon. Ideally there would be an optional to set either, but I second that noon is most people's interpretation in my experience
I know it's been over a year, but I just found this repo. Would 00:00 work for midnight? That's how it's represented in 24-hr time.
also experienced this issue.
should be fixed now