time-machine v2.0.0 Release Notes

Release Date: 2021-01-17 // over 3 years ago
    • πŸš€ Release now includes wheels for Windows and macOS.
    • 🚚 Move internal calculations to use nanoseconds, avoiding a loss of precision.
    • 🚚 After a call to move_to(), the first function call to retrieve the current time will return exactly the destination time, copying the behaviour of the first call to travel().
    • βž• Add the ability to shift timezone by passing in a ZoneInfo timezone.
    • βœ‚ Remove tz_offset argument. This was incorrectly copied from freezegun. Use the new timezone mocking with ZoneInfo instead.
    • βž• Add pytest plugin and fixture time_machine.
    • 🏁 Work with Windows’ different epoch.