Re: Did April go missing in Asia/Amman?
[email protected] (Eric Brine) Sat, 23 Apr 2016 15:42:41 -0400
| Newsgroups | perl.datetime |
|---|---|
| Message-ID | <CALJW-qGwRXYHk1N8YQiYLDsSS7hQ0OQ4SuJ+aPUQLmSc4ca28w@mail.gmail.com> |
On Fri, Apr 22, 2016 at 8:04 PM, Zefram <[email protected]> wrote: > 18 steps > of binary search gets you down to the second, but actually modern zones > are always on integral-minute offsets, so you could look only at integral > minutes and take only 12 steps. For each UT time you try, convert it > to zone time and see which month it ends up in. > I can't figure out how to search only down to the minute without causing it to find the wrong answer on days with two midnights.