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: Time formatting not complete?

Time formatting not complete? 15 years 1 month ago #107

  • micael
  • micael's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
I was glad to see that 24 hour formatting was fixed.

But it doesn't show up as 24 hour format in the views. Just while dragging the events in week/day view.
Can't the eventObject just hold the correct dateformat ?

Would be nice to have the ability to show date and time as : YYYY-MM-DD and HH:mm without calling an extra function on every field.

Please Log in to join the conversation.

Re: Time formatting not complete? 15 years 1 month ago #108

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 143
  • Karma: 1
  • Thank you received: 1
I think the formattedStartTime and formattedEndTime needs to consider timeformat.

And, we are already considering a way to specify the date format. It will not be in the event Object, but may be a global property.

We will try fit into the next release of web2cal.

Please Log in to join the conversation.


Team Web2Cal.

Re: Time formatting not complete? 15 years 1 month ago #109

  • LightAlloy
  • LightAlloy's Avatar
  • Visitor
  • Visitor
One more detail about time formatting -
in month view if there are many events for this day, if you click more - the list appears.

In this list time is displayed in 12h format, though in settings it's 24h.
And if event is "all day" current time is displayed as start and and time, but the all day event doesn't have start and end times, does it?

Or maybe I can specify template for this list? I didn't find it....

Please Log in to join the conversation.

Re: Time formatting not complete? 15 years 1 month ago #110

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 143
  • Karma: 1
  • Thank you received: 1
Thank you for letting us know. You are right All day events must not display time.

24 hour format will be fixed in the next release. Let us know if you find any other instance of incorrect format being used.

Please Log in to join the conversation.


Team Web2Cal.

Re: Time formatting not complete? 15 years 1 month ago #111

  • LightAlloy
  • LightAlloy's Avatar
  • Visitor
  • Visitor
Also there is one more small thing - links in that list (one I described in previous message) don't return false, so if calendar is not in the top of the page, user jumps to the top when he clicks the link, that's not very pleasant(

Please Log in to join the conversation.

Re: Time formatting not complete? 15 years 1 month ago #113

  • micael
  • micael's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Another error.


When moving an event so it end on next day.. the endtime is set to when the event stops on the starting day DURING the dragging. That is if you drag the part being on the starting side. (this is the only time it shows correct 24 h format)

Please Log in to join the conversation.

Re: Time formatting not complete? 15 years 1 month ago #115

  • micael
  • micael's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
Also..

When doing the following:
in weekview

create an event.
start 10:30 PM to 07:00 AM next day.
drag the part on the following day on the same event, down 1 hour.
should result in 11:30 PM to 08:00 AM..

results in an event 01:00 AM to 9:30AM on the next day

this is not correct I hope?

Please Log in to join the conversation.

Re: Time formatting not complete? 15 years 1 month ago #116

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 143
  • Karma: 1
  • Thank you received: 1
This is what is happening..

When you create a event spanning more than one day, the event is divided into 2 pieces. One for each day. When you drag, the time of the dragging event is considered and not the original event (I am not sure if this is right, I need to run it by analysts). Try dragging the first event (first piece), It should look good then.

Please Log in to join the conversation.


Team Web2Cal.

Re: Time formatting not complete? 15 years 1 month ago #117

  • micael
  • micael's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 6
  • Thank you received: 0
when dragging the first part , while mouse down the time is wrong (based on grabbed part).

Please Log in to join the conversation.

Re: Time formatting not complete? 15 years 1 month ago #121

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

I think the formattedStartTime and formattedEndTime needs to consider timeformat.

And, we are already considering a way to specify the date format. It will not be in the event Object, but may be a global property.

We will try fit into the next release of web2cal.


formattedStartTime and formattedEndTime will now be sensitive to timeFormat of the calendar.
Download the latest 1.2.8v of basic calendar

Please Log in to join the conversation.


Team Web2Cal.

Re: Time formatting not complete? 15 years 1 month ago #127

  • LightAlloy
  • LightAlloy's Avatar
  • Visitor
  • Visitor
what about displaying "00:00 - 00:00" time for allday events in month view (in a complete events list which is opened when you click "more")?

Please Log in to join the conversation.

Re: Time formatting not complete? 15 years 1 month ago #128

  • LightAlloy
  • LightAlloy's Avatar
  • Visitor
  • Visitor
also when you click on this link it jumps to the top of the page =(

Please Log in to join the conversation.

Re: Time formatting not complete? 15 years 1 month ago #129

  • LightAlloy
  • LightAlloy's Avatar
  • Visitor
  • Visitor
Ok.... I was able to fix these issues myself by editing "monthAllDayTemplate"

Please Log in to join the conversation.

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

LATEST IN FORUM

  • No posts to display.

ABOUT US