aspnet / live.asp.net

Code for live.asp.net, which hosts the ASP.NET Community Stand-up
https://live.asp.net/
MIT License
289 stars 114 forks source link

Added a calendar notification 10 minutes before the standup begins #119

Closed khellang closed 7 years ago

dnfclas commented 7 years ago

Hi @khellang, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution! You've already signed the contribution license agreement. Thanks!

The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.

TTYL, DNFBOT;

DamianEdwards commented 7 years ago

This seems to have some issues. I tried it now in staging and when I open the downloaded ICS in Outlook it sets the reminder to 306 days.

khellang commented 7 years ago

Hmm. It worked perfectly for me here. This is imported from staging:

image

Maybe it's an Outlook-specific thing?

DamianEdwards commented 7 years ago

I've deployed a change to staging, can you confirm that it still works for you?

khellang commented 7 years ago

Hmm. The older RFC (2445) says

Example: A trigger set 15 minutes prior to the start of the event or to-do.

TRIGGER:-P15M

But the newer RFC (5545) says

Example: A trigger set 15 minutes prior to the start of the event or to-do.

TRIGGER:-PT15M

See the extra T there? That might have something to do with it.

While you're in there changing stuff, you might also want to look at some of the newer properties (RFC 7986) to the iCal format, like URL, etc.

alexwiese commented 7 years ago

306 days is ~10 months not minutes. I think it should have a preceding T to specify time duration not date. Eg. -PT10M

khellang commented 7 years ago

Looks like it's now 15 minutes after start:

image

DamianEdwards commented 7 years ago

Doh, let me add the minus sign back

DamianEdwards commented 7 years ago

Try again?

khellang commented 7 years ago

Works now 👍

DamianEdwards commented 7 years ago

Awesome, thanks