Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How would I get the week view to group in 12 hour format instead of 24?
Comment | File | Size | Author |
---|---|---|---|
#3 | 1339783543769-uploadscreenshot-dot-com.png | 27.36 KB | SKap |
Comments
Comment #1
KarenS CreditAttribution: KarenS commentedI have no idea what this means. If you use 12 hour time you see am/pm and the right 12 hour times.
Comment #2
mattsmith3 CreditAttribution: mattsmith3 commentedYes, am/pm is the only 12 hour time format I'm aware of.
How would one configure a calendar view to show this?
After several attempts I have been left unsuccessful.
Comment #3
SKapI think what this is referring to is in the default calendar views for week and day, the calendar is in 24-hour format (see screenshot - the farthest left column shows hours 18-22 instead of 6 p.m.-10 p.m.). Is there a way to change it to 12-hour? I haven't been able to find it either.
Comment #4
ashooner CreditAttribution: ashooner commentedI ran into this in the 6.x-2.4, and I had to change my site's date & time settings to use 12-hour mode. Not sure if that would work in 7 or where that setting is, but worth a look.
Comment #5
SKapIt does work in 7. I figured that out by watching a bunch of tutorials, where they gloss over this part (and by that I mean, don't mention that it will have an affect on how things are displayed). If you adjust the date & time settings (I think for the short date setting, but it might be wrong), it shows up correctly.
Comment #6
joedag32 CreditAttribution: joedag32 commentedYes, this worked for me in 7. Went to Administration > Configuration > Date and time > then Set Short to include am/pm. Thanks.
Comment #7
boon4376 CreditAttribution: boon4376 commentedI'd like to confirm that this worked for me as well. I almost went crazy trying to figure out how to change it in views.
Comment #8
Neslee Canil Pinto