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: startTime and endTime as strings?

startTime and endTime as strings? 15 years 2 weeks ago #164

  • cwap
  • cwap's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Hi there..

In the docs it states that:

startTime: <Date> <String MM-dd-yyyy mm:hh:ss> [required]


I was thinking that meant that startTime and endTime could be set as strings in the provided format, however, this doesn't seem to work for me :(

Sample string:
09-22-2009 34:19:50 /* (22th of september 2009, 34 minutes and 50 seconds past 19 hours) */

Have I misunderstood something here?

Please Log in to join the conversation.

Re: startTime and endTime as strings? 15 years 2 weeks ago #166

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 143
  • Karma: 1
  • Thank you received: 1
Which version of web2cal are you using?

Try
09-22-2009 19:34:50

Let us know how it goes. I think the docs are wrong in the format.

Please Log in to join the conversation.


Team Web2Cal.

Re: startTime and endTime as strings? 15 years 2 weeks ago #170

  • cwap
  • cwap's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
I'm using the free version (1.2.9).

Tried setting startTime as "09-22-2009 19:34:50" and endTime as "09-22-2009 20:34:50"

Still no luck :(

Please Log in to join the conversation.

Re: startTime and endTime as strings? 15 years 2 weeks ago #171

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

I had a developer take a look at this. I believe, they could not reproduce this issue. Can you please attach the html file you are using with the functions and data?

More information will help us debug.
FYI: the PHP examples within the package, use the date format as specified above. If they work, then there is NO error in the calendar package.

Please Log in to join the conversation.


Team Web2Cal.

Re:startTime and endTime as strings? 15 years 2 weeks ago #172

  • gjimenez
  • gjimenez's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Karma: 1
  • Thank you received: 0
I had the same issue with the free version (Version Version V-1.2.9-0810G).

This is the string format I found works for me.

yyyy-mm-dd hh:mm:ss

as in...

startTime: "2009-09-24 10:00:00"

Cheers

Please Log in to join the conversation.

Re:startTime and endTime as strings? 15 years 1 week ago #173

  • cwap
  • cwap's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
yyyy-mm-dd hh:mm:ss worked nicely. Thanks a lot :)

Please Log in to join the conversation.

Re:startTime and endTime as strings? 15 years 1 week ago #175

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 143
  • Karma: 1
  • Thank you received: 1
Thanks everyone. I have submitted a bug regarding this issue.

Expect to be resolved in the coming release.

Please Log in to join the conversation.


Team Web2Cal.
  • Page:
  • 1
Time to create page: 0.078 seconds
Powered by Kunena Forum

LATEST IN FORUM

  • No posts to display.

ABOUT US