businessHours

132 views
Skip to first unread message

gasTroll

unread,
Mar 24, 2011, 12:40:16 PM3/24/11
to jquery week calendar
Hi,
I set the:

businessHours: {start: 12, end: 24, limitDisplay: true},

but I want something like showing time from

12
13
14
15
16
...
...
...
23
0
1
2
3



how can I do that?
if I put
businessHours: {start: 12, end: 4, limitDisplay: true},
it s not workin

Strixy

unread,
Mar 24, 2011, 1:34:49 PM3/24/11
to jquery week calendar
One option: Check out the "freeBusy management Options" found on the
wiki Script Options

https://github.com/themouette/jquery-week-calendar/wiki/Script-options

You would set your office hours as 12 to 3 and set freebusy as 5-11pm.

Julien MUETTON

unread,
Mar 24, 2011, 1:42:37 PM3/24/11
to jquery-wee...@googlegroups.com
Up to now you cannot do that, and it might be a bit tricky to change.

Good luck !

Julien.

Julien MUETTON

unread,
Mar 24, 2011, 2:14:37 PM3/24/11
to jquery-wee...@googlegroups.com
Nice thought !

gasTroll

unread,
Mar 24, 2011, 9:12:00 PM3/24/11
to jquery week calendar
Seems like Julien is right and it´s not possible at the time.

tried what you said:


default.html
<code>
businessHours: {start: 12, end: 4, limitDisplay: true},
displayFreeBusys: true,

</code>



events.json
<code>
events:
[
{"id":1, "start":"2011-03-22T13:15:00.000+10:00",
"end":"2011-03-22T14:15:00.000+10:00", "title":"Lunch with Mike"},
{"id":2, "start":"2011-03-24T13:15:00.000+10:00",
"end":"2011-03-24T14:15:00.000+10:00", "title":"Lunch with Andy"}
]

freebusys:
[
{"start":"2011-03-020T05:00:00.000+10:00",
"end":"2011-03-020T11:00:00.000+10:00", "free": false},
{"start":"2011-03-023T05:00:00.000+10:00",
"end":"2011-03-023T11:00:00.000+10:00", "free": true}
]

</code>



But it´s not workin
"praseerror"

Thanks for the hint!

Martin

unread,
Apr 28, 2011, 5:30:08 AM4/28/11
to jquery week calendar
I'm also trying to do something similar here:

http://groups.google.com/group/jquery-week-calendar/browse_thread/thread/aac4a599f128a9c9

But still couldn't get around it!
If I manage to do I'll post the solution.
Reply all
Reply to author
Forward
0 new messages