Respect timezone settings for .calendar() format

Fixes #946, and adds a test.