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
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

Ozeuss - March 10, 2009 - 20:03
Status:active» fixed

fixed in latest dev

#2

System Message - March 24, 2009 - 20:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.