sync_datetime 0.1.4
sync_datetime: ^0.1.4 copied to clipboard
A production-quality Dart package for reliable and predictable DateTime synchronization between clients and servers.
0.1.4 #
- Add
toServerPartsstatic helper method to serialize aDateTimeinto aServerDateTimePartsobject (containing separate UTC date and time strings). - Export
ServerDateTimePartsfrom the main library entry point. - Update documentation and example script to showcase
toServerParts.
0.1.3 #
- Add
fromServerPartsstatic helper method to parse separate date and time strings. - Update documentation and example script to showcase
fromServerParts.
0.1.2 #
- Update README version references and documentation.
0.1.1 #
- Add repository metadata to
pubspec.yaml. - Fix potential 1-hour parsing offset bug under Daylight Saving Time (DST) transitions in
fromServer. - Improve parameter naming on
toUtcandtoServerfor clarity. - Implement detailed
ArgumentError.valuedebugging information. - Add additional test coverage for negative timezone offset parsing.
0.1.0 #
- Initial version.
- Implement reliable, predictable DateTime synchronization methods:
toUtc,fromUtc,toServer,fromServer, andcombine. - Enforce strict parameter validation and robust parsing of ISO 8601 strings (handling both explicit and implicit UTC formats).