Closed (fixed)
Project:
Event
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
11 Oct 2005 at 00:31 UTC
Updated:
11 May 2006 at 23:23 UTC
I have "12h" set as the site time notation preference in the event module settings, but when viewing the event node (node/xxx), the time displays in 24h time. It is displayed correctly as 12h everywhere else so far as I can tell.
Comments
Comment #1
slower commentedCorrection: the time is also displayed incorrectly as 24h on the "day" view (event////day/all/all/1)
Comment #2
slower commentedWhoops, stripped my tags there. The path for the last note should be:
event/[year]/[month]/[day]/day/all/all/1
Comment #3
alexandreracine commentedAre you saying that the time in the node (after the "Begin:")is wrong or the url of the node (after the "node/time in numbers") as the wrong time?
Comment #4
slower commentedThe URL is fine; the time specified after the word "Start" in both views is in 24h notation.
Comment #5
onionweb commentedyou have to set the correct time in admin/settings for
Short date format:
Medium date format:
Long date format:
also to 12 hour format
Comment #6
slower commentedThank you! I hadn't even thought to look there. The site-wide timezone setting fixed this issue.
Comment #7
seaneffel commentedThere was a date formatting problem I found in my event.theme file, it was as if the sitewide date/time formatting was not being applied to the event node date/time. I made sure that the sitewide clock was set to 12h and that made no difference. I changed some of the code in my theme file and it solved my problem.
I'll suggest that one of the developers for this module check out my work and maybe consider it for distribution. There are tons of questions on the forums about those darned misbehaving 24h clocks. I'm no code warrior but this might save people lots of headaches.
http://drupal.org/node/7836#comment-119406