mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced support for parsing and converting duration strings (e.g., "1h30m") into milliseconds and seconds. - Added utility methods to handle a wide range of time units and their combinations. - Added functions to calculate dates offset before or after a given date by specified durations. - **Tests** - Implemented comprehensive automated tests to ensure accurate parsing and conversion of duration strings. <!-- end of auto-generated comment: release notes by coderabbit.ai -->