icalendar

From iCal to JSON then to a HTML/JS Calendar View

♀尐吖头ヾ 提交于 2019-12-25 08:50:04
问题 I have ical format data and need to generate html from the ical data using js..any experts to guide me? Appreciate your thoughts... I have stored the .ics data in plain file for now.avascript ruby-on-rails ruby json icalendar 来源: https://stackoverflow.com/questions/42239501/from-ical-to-json-then-to-a-html-js-calendar-view

Exclusive/Inclusive DTEND according to RFC5545 and Fullcalendar in event with time part, how to do it right?

匆匆过客 提交于 2019-12-25 06:49:50
问题 According to rfc5545: The "DTEND" property for a "VEVENT" calendar component specifies the non-inclusive end of the event. Also in fullcalendar documentation for end property of event object written the same: The exclusive date/time an event ends. Optional. A Moment-ish input, like an ISO8601 string. Throughout the API this will become a real Moment object. It is the moment immediately after the event has ended. For example, if the last full day of an event is Thursday, the exclusive end of

single icalendar rule for 1st weekday of multiple months every year?

故事扮演 提交于 2019-12-25 04:27:32
问题 Is it possible to specify an event to occur on the 1st weekday of multiple months every year in a single RRULE? Using January and June as a test case, my initial attempt was: FREQ=YEARLY;BYDAY=MO,TU,WE,TH,FR;BYMONTH=1,6;BYSETPOS=1 but BYSETPOS reduces the set down to January only. I think splitting it out into multiple rrules would work, but it would greatly increase the complexity of this area of my app so I was hoping for one rrule with a yearly freq. Thanks! 回答1: You could try: FREQ

single icalendar rule for 1st weekday of multiple months every year?

…衆ロ難τιáo~ 提交于 2019-12-25 04:27:17
问题 Is it possible to specify an event to occur on the 1st weekday of multiple months every year in a single RRULE? Using January and June as a test case, my initial attempt was: FREQ=YEARLY;BYDAY=MO,TU,WE,TH,FR;BYMONTH=1,6;BYSETPOS=1 but BYSETPOS reduces the set down to January only. I think splitting it out into multiple rrules would work, but it would greatly increase the complexity of this area of my app so I was hoping for one rrule with a yearly freq. Thanks! 回答1: You could try: FREQ

Outlook doesn't recognise ical attachment

放肆的年华 提交于 2019-12-25 02:07:35
问题 I have to send calendar invites from a classic ASP application to be received into Outlook. Using various different email components (ASPEmail, ASPMail, JMail) I have sent mails with attachments but when they are received, Outlook doesn't recognise the attachment as a calendar invite, whereas GMail does. In JMail I can set the content-type of the attachment to text/calendar but this makes no difference. The invite has been tested here and it validates fine. I am open to any solutions to this

iCalendar Opening Hours

谁说我不能喝 提交于 2019-12-25 00:38:03
问题 How do you write a FREQ rule in iCalendar data format for store's opening hours ? Let's say the store is open every working day (Mon-Fri): from 8:00AM to 5:00PM (or with lunch break from) 8:00AM to 11:00AM and 12:00PM to 5:00PM This would solve the days: FREQ=WEEKLY;WKST=MO;BYDAY=MO,TU,WE,TH,FR , how about the hours though ? Edit: Could I do sth like this? DTSTART;TZID=America/New_York:19970902T080000 RRULE:FREQ=WEEKLY;WKST=MO;BYDAY=MO,TU,WE,TH,FR DURATION=PT9H Would this mean every day from

Importing .ics into Calendar on Mac (El Capitan) breaks connection to Exchange Server

久未见 提交于 2019-12-24 21:08:57
问题 I have created an .ics file using Python and the calendar library. An example file is given below. This example contains three events which, in real life, would be timetable events for a class. b'BEGIN:VCALENDAR\r\nVERSION:2.0\r\nPRODID:-//Python iCalendar timetable//\r\nBEGIN:VEVENT\r\nSUMMARY:COURSE NAME 2016-17 LECTURE - abc (A.N.Other)\r\nDTSTART;TZID=Europe/London;VALUE=DATE-TIME:20161011T160000\r\nDTEND;TZID=Europe/London;VALUE=DATE-TIME:20161011T170000\r\nDTSTAMP;VALUE=DATE-TIME

iCalendar events imported in Google Calendar are empty

馋奶兔 提交于 2019-12-24 17:09:16
问题 When importing a ics file ("iCalendar") into Google Calendar, the import proceed successfully and all event appear in the calendar, but all fields of the events are empty. The only information displayed is "busy" ("occupé(e)" on the screenshot). No error message is displayed during the import. The ics file is validated fine by multiple validation libraries and online tools. 回答1: This was caused in my case by the CLASS property of my events being PRIVATE or CONFIDENTIAL . See RFC 2245, section

filtering streams in c#

我只是一个虾纸丫 提交于 2019-12-24 07:18:12
问题 What's the easiest way to filter a stream/reader line-by-line in c# (somewhat like putting sed in the middle of a pipeline). I want to feed an iCalendar file to DDay.iCal but DDay.iCal dies on "VERSION:5.1.1" because it wants a number or number SEMICOLON number (where number is digits (DOT digits)? so the last "." is unexpected). What I want to do is filter the VERSION: line to something harmless like "VERSION:5.1" so the parser doesn't die. Update: OK, here's a sample: BEGIN:VCALENDAR PRODID

Parse RRULE to readable text?

时光总嘲笑我的痴心妄想 提交于 2019-12-24 04:20:22
问题 I am looking for a library (php) or some pseudocode to parse Ical RRULEs to readable text(like for example google calendar) RRULE:FREQ=MONTHLY;INTERVAL=1;BYDAY=1FR,3FR,5FR -> Monthly on Friday of weeks 1, 3, 5 of the month 回答1: I was wondering the same thing and I struggled to find one, but I found one which is still in development, and you can find it here: https://github.com/simshaun/recurr/tree/v0.2-dev I was able to get it working with this code: $timezone = 'America/New_York'; $startDate