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

CommentFileSizeAuthor
#8 Picture 9.png35.65 KBmisscosmic
#7 calendar.jpg138.66 KBmisscosmic
#4 drupal.png128.13 KBmisscosmic
#3 time.png28.13 KBaspilicious
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aspilicious’s picture

views --> fullcalendar settings --> time settings fieldset

Look around everything you need is in there.
Also check out the advanced settings.

misscosmic’s picture

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

aspilicious’s picture

FileSize
28.13 KB

See screenshot

misscosmic’s picture

FileSize
128.13 KB

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

aspilicious’s picture

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

tim.plunkett’s picture

@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. :)

misscosmic’s picture

FileSize
138.66 KB

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

misscosmic’s picture

FileSize
35.65 KB

TIm, 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..

aspilicious’s picture

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

aspilicious’s picture

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

misscosmic’s picture

Thanks for your reply but I have a difficulty understanding your messages because they sound contradictory to me.

You write:

This is fixed in the development version.

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.

aspilicious’s picture

Ok 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

misscosmic’s picture

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.

The 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..?

aspilicious’s picture

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

misscosmic’s picture

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

misscosmic’s picture

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

misscosmic’s picture

Well 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 (-;

tim.plunkett’s picture

Status: Active » Fixed

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

misscosmic’s picture

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

Status: Fixed » Closed (fixed)

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

hansrossel’s picture

You need to clear the cache after changing the calendar date settings.

hansrossel’s picture

Issue summary: View changes

Axis format needs to be H(:mm) instead of H(:mm)t