2 个仓库
Utilities for converting time spans into human-friendly descriptive strings.
Distinct from Humanization Utilities: Specializes in time duration formatting rather than general data humanization.
Explore 2 awesome GitHub repositories matching part of an awesome list · Duration Formatters. Refine with filters or upvote what's useful.
Humanizer is a .NET natural language formatter and string manipulation library designed to convert technical identifiers, numbers, and dates into grammatically correct, human-readable text. It functions as a pluralization engine, localization utility, and case conversion tool for the .NET ecosystem. The library provides specialized capabilities for transforming programming conventions like PascalCase or snake_case into readable sentences and vice versa. It distinguishes itself by handling irregular and uncountable English words during pluralization and singularization, and by applying culture
Converts time durations into human-friendly strings with configurable precision.
这是一个 JavaScript 时间转换库,旨在将毫秒整数格式化为人类可读的持续时间,并将基于单位的字符串解析回总毫秒数。它作为一个用于管理机器可读持续时间与文本表示之间转换的工具。 该库提供双向映射,允许将原始数字转换为字符串,并将包含天、小时和分钟等单位的字符串解析回数字毫秒计数。它支持缩写和完整的书写时间格式。
Acts as a formatter that turns large millisecond integers into abbreviated or full written-out time durations.