From 1108dd3980f9b2e89c990bb0c2111e2450f7f1f3 Mon Sep 17 00:00:00 2001 From: Taku Date: Sun, 5 Oct 2014 15:09:46 -0700 Subject: [PATCH] Adding time-fmt which converts time to format (3000 => 50 minutes ago) and updating Readme --- README.md | 18 +++++++- dist/angular-filter.js | 72 +++++++++++++++++++++++++++++++ src/_filter/math/time-fmt.js | 70 ++++++++++++++++++++++++++++++ test/spec/filter/math/time-fmt.js | 31 +++++++++++++ 4 files changed, 190 insertions(+), 1 deletion(-) create mode 100644 src/_filter/math/time-fmt.js create mode 100644 test/spec/filter/math/time-fmt.js diff --git a/README.md b/README.md index 0d92245..fd8e94d 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,7 @@ - [shortFmt] (#shortfmt) - [byteFmt] (#bytefmt) - [kbFmt] (#kbfmt) + - [timeFmt] (#timefmt) - [Boolean](#boolean) - [isNull](#isnull) - [isDefined](#isdefined) @@ -1096,7 +1097,22 @@ Converts kilobytes into formatted display