Fix bug with dst offsets

As we were setting the 'local time', it required the given timestamp to be in
the same DST period as when the code was executed.
I made that change, I like it more. Thanks for the suggestion!