Closed (fixed)
Project:
Office Hours
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2009 at 15:34 UTC
Updated:
31 Oct 2011 at 15:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
mnapier commentedJust noticed that selecting 12 00 PM gets switched to 12 00 AM on the next edit and then the previously defined bug ends up wiping out that day.
Comment #2
mnapier commentedHere's a patch to fix the 12 00 PM from switching to 12 00 AM when editing.
Comment #3
mnapier commentedMidnight fix patch. makes it so 0 (midnight) can be stored in the database.
Comment #4
Ozeuss commentedThanks!
commiting both...
Comment #5
mnapier commentedsomething else must have not jived well with these patches on the latest release, there still seems to be some issues with 12 am.
Comment #6
miklOriginal patch was committed here: http://drupal.org/cvs?commit=230630
If you are still having issues, please try to describe them so we can fix them :)
Comment #7
dflitner commentedI'm using the latest version available on the module's page, and if I set or change an Until time to 12:00 AM, it wipes the whole Office Hours fieldset.
I just checked, and it also wipes if I set the From time to midnight.
I'm using 12 hour settings, granularity is Hours.
btw, it seems to ignore granularity, since the drop-down menu for the minutes shows all minutes from 00 - 59. Unless I'm misunderstanding what the granularity is meant for.
Unfortunately, I can't use this module with this bug. Our building closes at midnight. I really like it though and will keep an eye out for updates.
Comment #8
mikl#7: Just to be sure, are you using the Drupal 6 dev release or something else?
Comment #9
dflitner commentedSorry I guess I didn't mention the version. Yes, I'm using the Drupal 6 dev release. I was going to apply the patch mentioned above, but I noticed that the code from the patch was already in the version of Office Hours that I was using.
Comment #10
vett commentedHaving the same issue with 6 dev release. In the 12 hour format, if I choose 3pm - 12am, it does not save correctly. Those set of hours will just blank out.
Comment #11
Ozeuss commentedfix committed
Comment #12
johnvClosing issue, since :