1 个仓库
Utilities that provide symmetric conversion between numeric durations and human-readable time strings.
Distinct from Number-to-Word Converters: Unlike Number-to-Word Converters which focus on linguistic translation of integers, this focuses on the mapping between machine durations and unit-based strings.
Explore 1 awesome GitHub repository matching software engineering & architecture · Bidirectional Time Mappers. Refine with filters or upvote what's useful.
这是一个 JavaScript 时间转换库,旨在将毫秒整数格式化为人类可读的持续时间,并将基于单位的字符串解析回总毫秒数。它作为一个用于管理机器可读持续时间与文本表示之间转换的工具。 该库提供双向映射,允许将原始数字转换为字符串,并将包含天、小时和分钟等单位的字符串解析回数字毫秒计数。它支持缩写和完整的书写时间格式。
Implements paired logic to convert milliseconds to strings and strings back to milliseconds using a shared scale.