Tony Lau
Tony Lau
@davidgoli I am getting something similar but I don't think it's just a bug with the demo. Seems to be a bug in the rule.all() somewhere. I get different results...
@tim-phillips Thank you for your analysis. However, can you explain the following? It seems your solution still can return Wednesday depending on your computer's local timezone. 
@davidgoli I set my timezone to UTC+14 (Kiritimati Island/Line Islands Time) and got the following, even when I'm using getUTCDay(). The day is still returned as Wednesday when it should...