Hours always displaying in 24-hour format
domesticat - November 20, 2008 - 21:28
| Project: | Office Hours |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I have a field whose hours format is set to 12-hour time, but displays only in 24-hour format. The problem appears to be line 258 of office_hours.module:
if ($field['hoursformat']== 1) {
My tests show me that theme_office_hours_formatter_default() doesn't have access to $field, so there's no way for that check to ever pass.
Now to figure out what variable should be tested instead...

#1
fixed in latest dev
#2
Automatically closed -- issue fixed for 2 weeks with no activity.