Commit Graph

23 Commits

Author SHA1 Message Date
Michael Barrett
f4b5099f6a add more tests + fix year conversion bug 2014-07-18 20:27:58 +01:00
Michael Barrett
9099f90693 add test for error when invalid unit used 2014-07-18 09:25:12 +01:00
Mike Barrett
60b303f7cb add first mocha test 2014-07-17 23:13:01 +01:00
Mike Barrett
587bcbcbc8 setup grunt 2014-07-17 21:57:10 +01:00
Mike Barrett
59172d82e2 format code 2014-07-17 21:37:26 +01:00
Mike Barrett
792eddb9fb misc tweaks 2014-05-27 20:51:04 +01:00
Florian Neumann
890d5f115b Exchanged for-each with vanilla for-loop 2014-04-15 13:17:12 +02:00
Mike Barrett
1945c9dda0 Merge branch 'master' of github.com:mike182uk/timestring
Conflicts:
	timestring.js
2012-12-30 23:57:19 +00:00
Mike Barrett
d3e96cf42c throw exception when invalid unit passed 2012-12-30 23:50:17 +00:00
Mike Barrett
6cf492334c convert words to lower case 2012-12-30 23:42:39 +00:00
Mike Barrett
343503b8be fixed bug with working out unit 2012-12-30 23:39:06 +00:00
Mike Barrett
330faf85e0 remove redundant regex 2012-12-30 23:28:02 +00:00
Mike Barrett
fc1941e2bc fix regular expressions 2012-12-30 23:27:17 +00:00
Chris Van
f7e79dd1bb do not strip floating points when parsing timestamp (fixes #1) 2012-12-30 13:32:42 -05:00
Mike Barrett
562ed1145f simplify exports 2012-12-24 16:10:27 +00:00
Mike Barrett
c43a74f567 add node.js compatibility 2012-12-24 12:53:31 +00:00
Mike Barrett
6e57bc0408 updated timestring scope 2012-12-23 16:31:54 +00:00
Mike Barrett
18f863a784 remove window useage + change iife method 2012-12-23 16:22:23 +00:00
Mike Barrett
e28eb0f09f comment regexps 2012-12-15 22:51:48 +00:00
Mike Barrett
12caaaa121 re-add window useage, turns out it was needed... 2012-12-15 22:31:08 +00:00
Mike Barrett
6c204b7d4f removed uneeded window useage 2012-12-15 21:16:02 +00:00
Mike Barrett
66e9772e8b cleaned up indentation 2012-12-15 21:12:53 +00:00
Mike Barrett
e0ffccfae6 Initial commit 2012-12-15 21:07:43 +00:00