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.
When I add an event the date will show up in a 12 hour time. When I click the event (lightbox popup) the events time is shown a 24 hour time frame.
I would like it being a 24 hour time frame in any case... Been looking for hours and hours but not able to change it...
Comment | File | Size | Author |
---|---|---|---|
#8 | Picture 9.png | 35.65 KB | misscosmic |
#7 | calendar.jpg | 138.66 KB | misscosmic |
#4 | drupal.png | 128.13 KB | misscosmic |
#3 | time.png | 28.13 KB | aspilicious |
Comments
Comment #1
aspilicious CreditAttribution: aspilicious commentedviews --> fullcalendar settings --> time settings fieldset
Look around everything you need is in there.
Also check out the advanced settings.
Comment #2
misscosmic CreditAttribution: misscosmic commentedthanks aspilicious for your help... but could you be a little more precise..? When I go to views - - > (format) settings I see among lots of other options -Time/date settings-. But I don't see where or how I can influence the 12 or 24 hour time frame..
Also what I red is changing the 'h' into a 'H' in the fullcalendar.js
timeFormat: { // for event elements
'H(:mm)' // default
},
this also doesn't change it either.. It's feels so ridiculous... I've been spending days on this already..
Comment #3
aspilicious CreditAttribution: aspilicious commentedSee screenshot
Comment #4
misscosmic CreditAttribution: misscosmic commentedThanks for the energy you put in 'my' case aspilicious! But it's doesn';t seem to work. The time in the calendar doesn't want to go to a 24 clock...
Desperate.. allthough there far more worth issues in the world..
But thanks hey!
Comment #5
aspilicious CreditAttribution: aspilicious commentedDid you edit the original js file? this SHOULD work. I can't think of a case it wouldn't work...
If you got an irc client please visit: "#drupal-fullcalendar"
Comment #6
tim.plunkett@misscosmic I'm not sure what else could be going wrong, do you have any other customizations or special configuration that might help us debug it?
Also, I really like the look of that with the leaves and green and such. :)
Comment #7
misscosmic CreditAttribution: misscosmic commentedThanks Tim for your reply and also for your compliment (sweet!),
I'm new to Drupal but with the forum and my web background little by little I get my head a bit around it.
But I wouldn't have a clue how to solve this. Could you be a bit more presize in what you mean by "other customizations or special configuration that might help us"..
Just in an other attempt an attachment of a part of my moduls and in the 'hope' I'll say that something wrong here..
Comment #8
misscosmic CreditAttribution: misscosmic commentedTIm, just in another attempt. In the text of the attachment you see
Bon c'est ca
this should read Bon c'est ca.When I click on this particulair date the popup reads Bon c'est ca like it should.
This mean the event (attachment) shows the html code of the ' symbol while the event pop-up shows the ' symbol as it should.
Could this be the cause the 24 hour issue..? (hopehope ;-)
I just found this: http://arshaw.com/fullcalendar/docs/event_rendering/eventRender/. But I don't understand what of the eventRender code to paste where..
Comment #9
aspilicious CreditAttribution: aspilicious commentedThis is fixed in the development version. It's totally not related :p. But it means you're probably using references in your views. Maybe that is related to your problem... hmmm...
Still don't have a clue what could go wrong. Did you edit the js file that comes with fullcalendar? I alrdy asked that but you didn't answer. If you did something like that you should remove those files and replace them with the original ones.
Custom customization == own js plugin for fullcalendar
Comment #10
aspilicious CreditAttribution: aspilicious commentedJust a note:
You can do almost everything you want with the module as it is (without hacking code). So you shouldn't do that ever. :) If you need more than we can deliver you should write an extension on top of this module. But that is not a trivial task.
Comment #11
misscosmic CreditAttribution: misscosmic commentedThanks for your reply but I have a difficulty understanding your messages because they sound contradictory to me.
You write:
So what you say to me is that I don't have a development version and that is why I see html code instead of a symbol?
And if so, does this mean I do have to install something else and if so what a hole calendar an other js file ..?
or is this code issue because:
I'am using references in my views. And if so what do I do to not use references in my views (I'am new to Drupal as I explained)
I left the js as it was.
Comment #12
aspilicious CreditAttribution: aspilicious commentedOk I'll try to be very clear :)
We don't tag a new stable version of fullcalendar when a bug is fixed. Only after a few ones we do
bug 1 fixed
bug 2 fixed
bug 3 fixed ==> we tag beta1
bug 4 fixed
bug 5 fixed ==> we tag beta2
bug 6 fixed
bug 7 fixed
So the bug with the quote is fixed after we tagged our last stable release (beta 2). So when beta3 comes out it will be fixed.
If you can't wait you could install the development version. Those one are listed on the bottom of the project page. (http://drupal.org/project/fullcalendar). In other words you need to replace the entire module (all the files) with the new files. And after updating you always should run yoursite.com/update.php to check for potential database updates.
This is the same for each module on drupal.org
Comment #13
misscosmic CreditAttribution: misscosmic commentedThe only thing I ask for is to have the same time display in both the event and the pop-up related to it. Quit a reasonable demand don't you think so..? I live in Europe we always use a 24 time display in french there excists no PM or AM..
Forums like this I assumed are also for people not being too smart or new to Drupal, people like me. If you suggest them them to go write sollutions for basic/obvious functions than what is the goal of this forum..?
Comment #14
aspilicious CreditAttribution: aspilicious commentedSrry but it should work with the current code. I have no idea why it isn't working.
I use this all the time: http://chirolimburg.be/kalender is an example.
The only thing I can do is trying to look at your view myself. But I need an admin account for that...
Comment #15
misscosmic CreditAttribution: misscosmic commentedSorry that now two issues run in one and the same topic now...
I installed the dev version and yes instead of html code I see ' symbol in the calendar now.
But in the pop-up I still see code when I use é, à, ç, ect.
Comment #16
misscosmic CreditAttribution: misscosmic commentedThanks for the offer to look in my -views- but I'am working locally right now... And I don't dare to move it online at this moment..
Comment #17
misscosmic CreditAttribution: misscosmic commentedWell a miracle just happened. I re-entered the -H- in the views --> settings and the clock is on 24 hours now in both the event and the pop-up of the event. Hurreah!
But there is still code instead of ç, é, á in the pop-up.. Which ofcourse in another issue (-;
Comment #18
tim.plunkettSo then this is fixed?
I'm guessing that by popup you mean Colorbox, I'd open an issue over there.
Glad you got it fixed, and sorry it was so much trouble.
Comment #19
misscosmic CreditAttribution: misscosmic commentedYeah very happy this works and thanks for the patients.
With pop-up I mean once you click a date where there is an event (in my case) a lightbox shows into more detail about the event... This still shows just code instead of symbols.
Comment #21
hansrossel CreditAttribution: hansrossel commentedYou need to clear the cache after changing the calendar date settings.
Comment #22
hansrossel CreditAttribution: hansrossel commentedAxis format needs to be H(:mm) instead of H(:mm)t