Human friendly time parses with tidytime.js

Have you ever feel bored with standard time format like 08:30? Do you want time strings that looks great? Now you can do it with tidytime.js. Tidytime.js is a jQuery plugin that transforms standard time notation to something that’s human-friendly.

tidytime-demo

As you can see, it can transform standard time notation into human-friendly parses. Isn’t it great? Let’s see how to use this great plugin.

First, you need to include jQuery & tidytime.js.

After that, create an element that holds the time.

The easiest way to use tidytime.js is to call it with no options.

If you want to call it with options, you can do it like this:

Additional details can be found at http://git.aaronlumsden.com/tidytime.js/.

Published by

Licson Lee

Hi! I’m Licson. I’m a student who loves programming.

Leave a Reply

Your email address will not be published. Required fields are marked *