Displaying 1 to 7 from 7 results

countdownjs - A simple JavaScript API for producing an accurate, intuitive description of the timespan between two Date instances

  •    Javascript

A simple JavaScript API for producing an accurate, intuitive description of the timespan between two Date instances. While seemingly a trivial problem, the human descriptions for a span of time tend to be fuzzier than a computer naturally computes. More specifically, months are an inherently messed up unit of time. For instance, when a human says "in 1 month" how long do they mean? Banks often interpret this as thirty days but that is only correct one third of the time. People casually talk about a month being four weeks long but there is only one month in a year which is four weeks long and it is only that long about three quarters of the time. Even intuitively defining these terms can be problematic. For instance, what is the date one month after January 31st, 2001? JavaScript will happily call this March 3rd, 2001. Humans will typically debate either February 28th, 2001 or March 1st, 2001. It seems there isn't a "right" answer, per se.

combined_time_select - A Rails time_select like Google Calendar with combined hour and minute time_select

  •    Ruby

Written by Chris Oliver @excid3.This is a small gem for creating Google Calendar style 12 hour AM/PM time_select fields for Rails. It's based off of simple_time_select by tamoyal.

hour-of-code - Hour of code examples with my kids

  •    Javascript

Hour of code examples with my kids




pretty-time - Easily format the time from node

  •    Javascript

Easily format the time from node.js process.hrtime. Works with timescales ranging from weeks to nanoseconds. Please consider following this project's author, Jon Schlinkert, and consider starring the project to show your ❤️ and support.

php-duration - Convert durations of time between colon-formatted, human-readable, and seconds

  •    PHP

This package was created with a very specific goal in mind, to enable an easy way for users to input how long something took, as a duration of time. The library can accept either in colon separated format, like 2:43 for 2 minutes and 43 seconds OR written as human readable or abbreviated time, such as 6m21s for 6 minutes and 21 seconds.

react-native-hour-format - Get hour format from OS settings.

  •    Java

Get hour format from OS settings. Use below snippet so moment().format('LT') will return correctly formated values.