Friendly Time Values With jQuery – tidyTime.js

tidyTime.js is a jQuery plugin for displaying the time in a friendly way.

The time values are converted to strings like: “quarter past 9”, “5 o’clock”, “3 to 8”, etc.


And, the plugin allows us to insert custom string before and after the time, like: “Hey, it’s 10 minutes to 4. Be quick!”.

It is possible to set different strings for specific timestamps too and a callback exists when tidyTime is triggered.