First we use Meta.currentUserTime to get the current time in the user’s timezone. Then we call hour() to get just the hour as an integer between 0 and 23. If the hour is above 22 (10 PM) or below 8 (8 AM), we want to skip the notification action and run the Feedly action; otherwise, we want to do the opposite.

by rabbitpying

works with
  • Notifications
How it works