Tempo is a JavaScript date manipulation library that provides a suite of tools for parsing, formatting, and calculating dates and times. It serves as a date arithmetic engine, a locale-aware formatter, and a timezone offset manager for native JavaScript date objects.
The library includes a dedicated ISO 8601 date parser for validating and converting standardized strings into date objects. It handles geographic normalization through IANA timezone offset management and utilizes the native Internationalization API for region-specific date formatting.
The project covers a broad range of date and time capabilities, including date difference calculations, the manipulation of specific time units, and the normalization of time boundaries. It also provides utilities for comparing dates, setting specific date components, and generating localized date ranges.