Wrong values for hours being saved
domesticat - April 30, 2009 - 21:09
| Project: | Office Hours |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
I've been trying to debug some truly strange results and finally realized what was going on today: the numbers being saved for opening and closing times are wrong. See the attached screenshot for an example; in this case I tried to save 9am and 8pm. They're being saved as 90 and 200.
Makes me wonder if there somewhere in the code that's using '0' instead of '00' for minute values?
| Attachment | Size |
|---|---|
| office_hours_digit_missing.png | 16.94 KB |
