-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Request] Change Event from Start Date to End Date #39
Comments
Ah, I think this is a good idea! I think I will work on adding the ability to adjust this amount - for example, waiting 5 min versus 15 min. |
Cool! |
@jianyu-li The newest version of the code has this feature! If you want to update without changing your other widget settings, you can run the "Update code" function, and then add this setting to the EVENTS section: // Minutes after an event begins that it should still be shown.
,minutesAfter: 5 Please let me know if that works OK! |
You are on a roll tonight! Thanks! |
This is what weekend procrastination looks like 😅 and no problem! |
Also thanks for telling me what line to add so I didn’t have to update my whole thing! Very helpful when you have it fine tuned just right :) |
Hi @mzeryck
Would it be possible to change line 748 in the Weather Cal code.js file to
return (event.EndDate.getTime() > currentDate.getTime())
? Or at least make it an option?This would mean the event would still show even if it has already started (sometimes I'm late!). Then it goes away once the event is over.
Thanks for your consideration!
The text was updated successfully, but these errors were encountered: