Re: date selectors using local time for comparison (Stephen Leake)

Richard Hopkins <[email protected]>
Newsgroups gmane.comp.version-control.monotone.devel
Message-ID <[email protected]>
> That's bad; the user input time should be converted to UTC
> before being
> compared. I thought it was, back when this was added.
> 
I've now committed and pushed f7cea8d4e635f311b8c85257b8bfbaf38b961407
which converts the dates into UTC. It works here on Windows and Linux
that I've tried it on (currently 1 hour ahead of UTC). Would be
good to have it tested on other machines though.

> Hm. The tests must set some env variable so all times are
> UTC; that
> would be required for consistency, with testers in several
> time zones.
> But we should have at least one test that sets a different
> time zone, to
> test stuff like this.
> 
Agree. Any ideas how we would do that?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.