12 个仓库
Utilities for date manipulation, formatting, and duration parsing.
Explore 12 awesome GitHub repositories matching part of an awesome list · Dates and Time. Refine with filters or upvote what's useful.
Day.js is a lightweight utility for parsing, validating, and manipulating date objects. It provides a fluent, chainable interface that allows for complex time calculations and transformations to be performed through a sequence of readable method calls. By utilizing an immutable wrapper pattern, the library ensures data integrity by creating new instances for every operation rather than modifying existing objects. The project is distinguished by a minimalist core abstraction that maintains a small footprint by offloading non-essential features to an optional, modular plugin system. This archit
Minimalist library with a Moment.js-compatible API.
date-fns is a JavaScript date utility library providing a collection of pure functions for manipulating, formatting, and calculating dates and times. It serves as an immutable date manipulation library and a tool for time zone management, ensuring that date transformations are performed without modifying the original date objects. The library functions as a date formatting tool that converts date objects into human-readable strings using custom patterns and international locales. It includes a specific toolset for adjusting and calculating date representations across different geographical re
Modular date utility library with individual function imports.
DateTools is a date manipulation library for iOS applications that provides utilities for date arithmetic, range management, and relative time formatting. It functions as a set of tools to shift dates by specific units, calculate durations between timestamps, and convert dates into localized, human-readable strings. The library specializes in the analysis of time spans, offering systems to define, compare, and organize overlapping or sequential time periods. It includes logic to determine chronological relationships, such as whether dates fall within specific windows or how different time per
Provides utilities for date manipulation, formatting, and calculating durations between timestamps.
这是一个 JavaScript 时间转换库,旨在将毫秒整数格式化为人类可读的持续时间,并将基于单位的字符串解析回总毫秒数。它作为一个用于管理机器可读持续时间与文本表示之间转换的工具。 该库提供双向映射,允许将原始数字转换为字符串,并将包含天、小时和分钟等单位的字符串解析回数字毫秒计数。它支持缩写和完整的书写时间格式。
Parser and formatter for time duration strings.
timeago.js 是一个 JavaScript 库,将时间戳转换为人类可读的相对时间字符串。它作为一个国际化的日期库,将静态日期和时间数据转换为描述性的已过去时间陈述。 该项目提供了一个动态时间更新器,可定期自动刷新网页上的相对时间标签。它支持多语言日期本地化,允许使用内置或自定义的区域设置将已过去时间陈述翻译成各种语言。
Library for formatting dates into relative time strings.
Common.Utility 是一个通用工具库,提供了一系列用于常见编程任务的辅助类。它作为一个数据安全框架、数据库访问包装器,以及用于系统管理和网络通信的工具套件。 该库包括一个用于生成条形码和二维码、编辑图像以及转换视频格式的多媒体处理套件。它还提供了一个用于管理 HTTP 请求和 FTP 传输的网络通信工具包,以及与电子邮件和通知服务的集成。 该项目涵盖了广泛的功能,包括文件 I/O、字符串操作和数据转换。它提供用于通过线程池进行后台任务调度、带有注入检测的数据库操作管理,以及用于执行 Shell 命令和管理注册表设置的系统管理工具。
Converts timestamps into readable formats and calculates intervals using calendar operations.
该项目是一个 JavaScript 教育仓库和编程课程。它提供了一系列旨在学习 JavaScript 编程语言的代码示例和实践项目。 该仓库通过动手练习涵盖了语言学习,包括编码项目的实现和算法练习。它专注于前端 Web 开发和面向对象编程的应用。 内容包括管理变量和数据类型、执行数学运算以及操作字符串和日期的材料。它还提供了比较数据值以及使用类和原型组织代码的示例。
Demonstrates methods for manipulating and formatting strings and date objects.
Globalize 是一个 JavaScript 国际化库和 Unicode CLDR 本地化引擎。它提供了一个工具包,用于使用 Unicode 通用区域数据存储库和 IANA 时区来格式化日期、数字和货币。 该项目具有一个构建时本地化编译器,可将规则预编译为静态格式化程序,以减少运行时开销和包大小。它包含一个使用 ICU MessageFormat 语法解析和格式化复杂字符串的系统,支持变量、复数和性别变体。 该库涵盖了广泛的本地化功能,包括双向日期和时间解析、数字和货币标记化以及相对时间格式化。它管理区域数据加载、全应用语言配置以及用于解析缺失翻译键的消息继承链。
Transforms localized date strings back into Date objects based on specified formats and locale rules.
tinytime exports a single function that returns a template object. This object has a single method, render, which takes a Date and returns a string with the rendered data.
Simple date formatter for custom patterns.
A tiny (349B) reusable date formatter. Extremely fast!
High-performance numeric date formatter.
`sh $ npm install fromnow --save `
Lightweight utility for relative time formatting.
Get a formatted timestamp. Used in gulp, assemble, generate, and many others.
Utility for generating timestamp strings.