Displaying 1 to 20 from 32 results

Datejs - A JavaScript Date Library

  •    Javascript

Datejs is an open source JavaScript Date library for parsing, formatting and processing. Comprehensive, yet simple, stealthy and fast. Datejs has passed all trials and is ready to strike. Datejs doesn’t just parse strings, it slices them cleanly in two.

apicache - Simple API-caching middleware for Express/Node.

  •    Javascript

Because route-caching of simple data/responses should ALSO be simple. To use, simply inject the middleware (example: apicache.middleware('5 minutes', [optionalMiddlewareToggle])) into your routes. Everything else is automagic.

Time4J - Advanced date, time and interval library for Java

  •    Java

Time4J is thought as a complete and high-end replacement for old java classes around java.util.Date, java.util.Calendar and java.text.SimpleDateFormat. This project is also intended as first-class alternative to the popular libraries JodaTime and its successor JSR-310 (Threeten) since the target audience of Time4J will not only be business Java developers, but also developers with a more scientific background (for example extended time scale support including leap seconds or historically accurate dates).




HumanizeDuration.js - 361000 becomes "6 minutes, 1 second"

  •    Javascript

This library is in maintenance mode. New languages and bug fixes will be added but no new features will be. If you're interested in helping out by taking over the project, please see this GitHub issue. This package is available as humanize-duration on npm and Bower. You can also include the JavaScript file in the browser.

durafmt - :clock8: Better time duration formatting in Go!

  •    Go

durafmt is a tiny Go library that formats time.Duration strings into a human readable format.Contributions are welcome! Fork this repo and add your changes and submit a PR.


pretty-time-zsh - Convert seconds to a human readable string: 165392 → 1d 21h 56m 32s

  •    Shell

Install with npm or Antigen, clone this repo, or just download the pretty-time.zsh file.Add zgen load sindresorhus/pretty-time-zsh to your .zshrc and run zgen reset.

gulp-duration - Track the duration of parts of your gulp tasks

  •    Javascript

Track the duration of parts of your gulp tasks.Useful, for example, when running a periodic watch-like task but not using gulp.watch or gulp's task dependency system.

parse-duration - convert a human readable duration to ms

  •    Javascript

convert a human readable duration string to ms

timestring - Parse a human readable time string into a time based value

  •    Javascript

Parse a human readable time string into a time based value. By default the returned time value from timestring will be in seconds.

metrick - ๐Ÿ“ Babel-powered unit magick

  •    Javascript

Metrick is a library which allows you to convert units and avoid using magic numbers! In combination with a JavaScript syntax extension included with Babel, it allows for a new, clean and human-like syntax for doing so. The explicit syntax makes use of an in function to convert the original unit into another supplied unit. Passing a valid Unit object of the same type to in will return the result as a number.

ngx-duration-picker - Angular component for ISO_8601 durations

  •    TypeScript

A reusable Angular duration-picker component that works with ISO_8601 durations. Requires Bootstrap 3, css only (no Bootstrap JS or jQuery needed).

moment-isoduration - Moment.js durations using ISO 8601

  •    Javascript

Adds ISO 8601 duration to support to moment durations.

xsdurationjs - Adds xs:duration to dateTime

  •    Javascript

A w3c adding duration to datetime implementation for node and the browser with no dependencies. Download xsduration-0.0.2.min.js to your scripts directory and include it with a script tag.

virtual-clock - A small library for configurable, high-resolution, high-performance virtual clocks

  •    Javascript

This small and efficient library provides configurable virtual clocks for tracking time in for example simulations, games, media applications, or even just a simple stopwatch. Virtual clocks can be started and stopped, the rate at which time flows can be altered and even be made negative, causing time to flow backwards. Time can be limited by a minimum and maximum value, and when both a minimum and maximum are defined time may be set to loop around. Time listeners may be attached which will fire when a given (absolute) time on the clock is passed, without having to worry about adjusting timeouts for pauses, rate changes or other conditions.

timeago - In Rust, format Duration into a string like "1 hour ago" or "01hou".

  •    Rust

In Rust, format Duration into string like "1 hour ago" or "01hou". Currently it does not take the calendar into account and assumes each month is about 30.4 days long.