calendar

Change Google Calendar Event Free/Busy with Calendar API

你说的曾经没有我的故事 提交于 2020-03-22 10:32:32
问题 I have a GAS web app for reserving rooms. When the app creates the event, it currently defaults to "Busy" for the event. I am trying to set the default to "Free". I found a GAS forum entry that recommends using the Advanced Google Calendar API to edit the transparency field (Source: https://code.google.com/p/google-apps-script-issues/issues/detail?id=2341). The script they suggested was var changes = { transparency: "transparent" }; Calendar.Events.patch(changes, cal_id, event_id); I have the

Is Microsoft Graph API calendarView limited to a single month? How to get all events?

寵の児 提交于 2020-03-21 19:21:20
问题 Is Microsoft Graph API calendarView limited to a single month? How can I get all events? Is there some implicit pagination? I'm first checking the JSON output of events between 2017-01-01 and 2018-12-30 : https://graph.microsoft.com/v1.0/me/calendar/calendarView?startDateTime=2017-01-01T00:00:00.0000000&endDateTime=2018-12-30T00:00:00.0000000 and list the dates jq '.value[] .start .dateTime' "2017-11-22T13:30:00.0000000" "2017-11-23T14:00:00.0000000" "2017-11-24T14:00:00.0000000" "2017-11

Is Microsoft Graph API calendarView limited to a single month? How to get all events?

心已入冬 提交于 2020-03-21 19:20:32
问题 Is Microsoft Graph API calendarView limited to a single month? How can I get all events? Is there some implicit pagination? I'm first checking the JSON output of events between 2017-01-01 and 2018-12-30 : https://graph.microsoft.com/v1.0/me/calendar/calendarView?startDateTime=2017-01-01T00:00:00.0000000&endDateTime=2018-12-30T00:00:00.0000000 and list the dates jq '.value[] .start .dateTime' "2017-11-22T13:30:00.0000000" "2017-11-23T14:00:00.0000000" "2017-11-24T14:00:00.0000000" "2017-11

How to Specify Timezone in ics File which will work efficiently with google,outlook and apple?

≡放荡痞女 提交于 2020-03-21 11:42:41
问题 I want to generate an ics file which will be compatible with google, outlook and apple calendars. I am able to do it fine, but the problem is that I can't specify timezone block in file which will be compatible for above mentioned apps. I currently used X-Wr-timezone property which doesn't work with outlook and gives different time in google. I need the solution for this problem. My ics file: BEGIN:VCALENDA RPRODID:-//sample//sam Calendar//EN VERSION:2.0 X-MS-OLK-FORCEINSPECTOROPEN:TRUE X-WR

How to Specify Timezone in ics File which will work efficiently with google,outlook and apple?

柔情痞子 提交于 2020-03-21 11:42:14
问题 I want to generate an ics file which will be compatible with google, outlook and apple calendars. I am able to do it fine, but the problem is that I can't specify timezone block in file which will be compatible for above mentioned apps. I currently used X-Wr-timezone property which doesn't work with outlook and gives different time in google. I need the solution for this problem. My ics file: BEGIN:VCALENDA RPRODID:-//sample//sam Calendar//EN VERSION:2.0 X-MS-OLK-FORCEINSPECTOROPEN:TRUE X-WR

How to Specify Timezone in ics File which will work efficiently with google,outlook and apple?

a 夏天 提交于 2020-03-21 11:41:58
问题 I want to generate an ics file which will be compatible with google, outlook and apple calendars. I am able to do it fine, but the problem is that I can't specify timezone block in file which will be compatible for above mentioned apps. I currently used X-Wr-timezone property which doesn't work with outlook and gives different time in google. I need the solution for this problem. My ics file: BEGIN:VCALENDA RPRODID:-//sample//sam Calendar//EN VERSION:2.0 X-MS-OLK-FORCEINSPECTOROPEN:TRUE X-WR

Python: third Friday of a month

若如初见. 提交于 2020-03-17 04:37:01
问题 I am a rookie python programmer and I need to write a script to check if a given date (passed as a string in the form 'Month, day year') is the third Friday of the month. I am using Python 2.7. For example, these dates can help you better understand my problem. Have a yearly calendar at hand. input ---> output 'Jan 18, 2013' ---> True 'Feb 22, 2013' ---> False 'Jun 21, 2013' ---> True 'Sep 20, 2013' ---> True I just want to use standard classes provided by the language, like time, datetime,

Samsung J7 returning first day of week as 2

百般思念 提交于 2020-03-05 12:20:31
问题 I have written a code for custom calendar where I am using calendar object.I have used the method getFirstDayOfWeek() to retrieve first day of every month.On loading every month the method "_calendar.getTime()" returns the first date. On every device it is returning correctly.But on samsung J7 it returns starting date of week as 2 . Here is my debugger log for samsung J7 java.util.GregorianCalendar[time=?,areFieldsSet=false,lenient=true,zone=Asia/Calcutta,firstDayOfWeek=2

Samsung J7 returning first day of week as 2

你说的曾经没有我的故事 提交于 2020-03-05 12:20:29
问题 I have written a code for custom calendar where I am using calendar object.I have used the method getFirstDayOfWeek() to retrieve first day of every month.On loading every month the method "_calendar.getTime()" returns the first date. On every device it is returning correctly.But on samsung J7 it returns starting date of week as 2 . Here is my debugger log for samsung J7 java.util.GregorianCalendar[time=?,areFieldsSet=false,lenient=true,zone=Asia/Calcutta,firstDayOfWeek=2

php: writing a .ics (iCal) file? Date-formatting?

杀马特。学长 韩版系。学妹 提交于 2020-03-03 09:25:28
问题 I'm not much of a php expert and have troubles formatting the date for a .ics file. So I have a loop that generates a calendar entry for each $post (where a $post is an event in my case) foreach( $posts as $post ) : setup_postdata($post); $ical .= "BEGIN:VEVENT UID:" . md5(uniqid(mt_rand(), true)) . "mysite.com DTSTAMP:" . gmdate('Ymd').'T'. gmdate('His') . "Z DTSTART:".get_event_date($post)."00Z DTEND:".get_event_end_date($post)."00Z SUMMARY:".get_the_title($post->ID)." DESCRIPTION:".get_the