Menu
Welcome, Guest
Username: Password: Secret Key Remember me
Welcome to the Developer forum!
Get all your questions answered here. Learn to integrate calendar in your application.
  • Page:
  • 1

TOPIC: show time in 24:00 format

show time in 24:00 format 14 years 4 months ago #278

  • inbit
  • inbit's Avatar Topic Author
  • Visitor
  • Visitor
Hi

When i\'m adding new event (drag and drop across the calendar) a window pops up, where i fill the desired fields and can also change date or time.
If i decide to change time, when i click on a field with time a dropdown pops out, with values of: 12:00 PM, 12:15 PM, 12:30 PM, 12:45 PM, 1:00 PM, and so on

Is there a way to change that dropdown values to: 12:00, 12:15, 12:30, 12:45, 13:00,... (to 24:00 time format)

I know there\'s a setting of \"timeFormat\" but it\'d doesn\'t seem to affect this dropdown values. Unless i\'m doing something wrong?

Thank you.

Please Log in to join the conversation.

Re:show time in 24:00 format 14 years 4 months ago #281

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 143
  • Karma: 1
  • Thank you received: 1
Hello,

{timeFormat:24} seems to be the right option. What version of Web2Cal are you using? can you paste sample code?

Web2Cal Team

Please Log in to join the conversation.


Team Web2Cal.

Re:show time in 24:00 format 14 years 4 months ago #282

  • inbit
  • inbit's Avatar Topic Author
  • Visitor
  • Visitor
I\'m using web2cal premium 1.4

I don\'t know which code to show you, because there\'s a lot of it where i could theoreticaly broke that functionality.

But i\'m also trying this on demo file (mailcalendardemo.html) which has the same problem (of not showing time format in 24hrs in dropdown values of the time field when adding new event). And i haven\'t changed that code a bit.
However, when i\'m in week view, time on the far left side of the calendar, does show in 24hrs format if i change the timeFormat setting.

Thank you.

Please Log in to join the conversation.

Re:show time in 24:00 format 14 years 4 months ago #283

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 143
  • Karma: 1
  • Thank you received: 1
Did you try

new Web2Cal.TimeControl(jQuery(\"#eventStartTime\").get(0), null, {timeFormat:24});

If not, please email support. They will be able to help you.

Web2Cal

Please Log in to join the conversation.


Team Web2Cal.

Re:show time in 24:00 format 14 years 4 months ago #284

  • inbit
  • inbit's Avatar Topic Author
  • Visitor
  • Visitor
That solved the problem :)

Thank you very much

Please Log in to join the conversation.

  • Page:
  • 1
Time to create page: 0.064 seconds
Powered by Kunena Forum

LATEST IN FORUM

  • No posts to display.

ABOUT US