fuzzy_time
v0.4.0
Published
A simple module for fuzzy time, example: 08:12 -> "A quarter past eight"
Downloads
2
Maintainers
Readme
Fuzzy_time
Will return the current time in a humanly readable format. 23:45 => 'a quarter to twelve'
- Require it
var ft = require('fuzzy_time');
- Use it
var time = ft.getFuzzy();
Or...
var time = ft.getFuzzy('en');
As of version 0.3, an argument for language can now be provided. It isn't required and defaults to english. There is only english as of right now, more languages will be added in the future.