Indeed I meant the local timezone.

You're right about the other edge cases, since it all looks good to me (code review wise), I think you should add more test cases for all these things we've mentioned before merging.