djc / awmy

arewemeetingyet.com: help communicate meeting times to timezone-challenged participants
MIT License
38 stars 7 forks source link

Weekly mode: incorrect next date meeting #13

Closed SphinxKnight closed 10 years ago

SphinxKnight commented 10 years ago

I noticed something (and hopefully a pattern) to help identify it: ex: http://arewemeetingyet.com/New%20York/2014-08-27/15:00/w/Test

As I'm living in UTC + 2H and New York is UTC-4H, the next meeting should be today : 3rd of Sept 2014, 21:00 (PM) (UTC+2H) But it displays 10th Sept 21:00.

It seems that this happens when the time of the meeting is past in my zone (20:37 > 15:00) but not past in the meeting zone (14:37 < 15:00).

I hope this is clear :s

djc commented 10 years ago

Very clear, thanks for the report! I think it's been fixed now, let me know if you can still break it.

SphinxKnight commented 10 years ago

It seems cool for my "scenario" :) Thanks a lot for the very quick fix. I was trying to dig into the code but it takes time, I'll continue studying it. (NB: Understanding your commit now, I think that was that indeed)