Commit Graph

190 Commits

Author SHA1 Message Date
Michael Barrett
c2e13afd7a add license 2014-07-18 20:28:23 +01:00
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
09089fa812 add mocha + chai 2014-07-17 22:49:43 +01:00
Mike Barrett
34c8e04352 misc tweaks 2014-07-17 22:16:35 +01:00
Mike Barrett
4740173d3e fix jhint errors 2014-07-17 22:10:24 +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
052d6ee5b3 add editorconfig 2014-07-17 21:35:55 +01:00
Mike Barrett
792eddb9fb misc tweaks 2014-05-27 20:51:04 +01:00
Mike Barrett
6644e65fc1 misc tweaks 2014-05-27 20:45:04 +01:00
Michael Barrett
af09eccaec Merge pull request #5 from FloNeu/patch-1
Exchanged for-each with vanilla for-loop
2014-04-17 09:23:15 +01:00
Florian Neumann
890d5f115b Exchanged for-each with vanilla for-loop 2014-04-15 13:17:12 +02:00
Mike Barrett
d4e4c56484 update package.json 2013-01-19 23:14:00 +00:00
Mike Barrett
ff0777e220 bump up version number + minor amendment to readme 2012-12-31 00:02:49 +00:00
Mike Barrett
1945c9dda0 Merge branch 'master' of github.com:mike182uk/timestring
Conflicts:
	timestring.js
2012-12-30 23:57:19 +00:00
Mike B
cd715c44f5 Merge pull request #2 from cvan/patch-1
do not strip floating points when parsing timestamp (fixes #1)
2012-12-30 15:54:42 -08: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
713022f729 amended version number 2012-12-24 16:25:57 +00:00
Mike Barrett
562ed1145f simplify exports 2012-12-24 16:10:27 +00:00
Mike Barrett
6610511657 updated readme 2012-12-24 13:29:05 +00:00
Mike Barrett
72d7e76f31 updated package name 2012-12-24 13:15:58 +00:00
Mike Barrett
cdbb403c70 added npm stuff 2012-12-24 13:11:35 +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
473eadc8d7 fixed mistakes 2012-12-22 17:17:43 +00:00
Mike Barrett
e28eb0f09f comment regexps 2012-12-15 22:51:48 +00:00
Mike Barrett
e1bac3ffb9 update readme 2012-12-15 22:44:39 +00:00
Mike Barrett
4222e71644 add readme 2012-12-15 22:37:13 +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