Commit graph

167 commits

Author SHA1 Message Date
Kevin Jin
72a2f418c8 Pass through unrecognized directives
For compatibility with strftime() on Unix, preserve the percent sign for unrecognized directives when appending to resultString.
2015-09-27 10:41:58 -04:00
a133ab1a4e fix readme example output, closes #66 2015-08-30 16:44:18 -07:00
d6f6e74351 fix example code 2015-06-11 09:53:06 -07:00
b852daca88 v0.9.2 2015-05-29 17:52:48 -07:00
93326a4d73 fix cached timestamps, closes #63 2015-05-29 17:45:20 -07:00
a213d716a6 Merge pull request #62 from pdehaan/patch-1
Update license attribute
2015-05-23 17:04:18 -07:00
Peter deHaan
29111d3bbb Update license attribute
specifying the type and URL is deprecated:

https://docs.npmjs.com/files/package.json#license
http://npm1k.org/
2015-05-23 16:08:48 -07:00
8adfd97924 Merge pull request #60 from samsonjs/test-times
always use GMT to construct times in tests
2015-03-31 17:52:36 -07:00
48d143eb90 always use GMT to construct times in tests 2015-03-29 14:16:12 -07:00
fe2892ebfa Merge pull request #59 from samsonjs/Issue56_BugInWeekNumber
Fixes #56 (Bug in %U)
2015-03-29 13:26:50 -07:00
Alexandr Nikitin
aee0e19edc Revert "Revert "Fixes #56 (Bug in %U)""
This reverts commit ab3d4a052e.
2015-03-29 11:38:17 +03:00
22ddd8982f Merge pull request #58 from samsonjs/revert-57-Issue56_BugInWeekNumber
Revert "Fixes #56 (Bug in %U)"
2015-03-26 14:56:35 -07:00
ab3d4a052e Revert "Fixes #56 (Bug in %U)" 2015-03-26 14:44:26 -07:00
603a716bf8 Merge pull request #57 from alexandrnikitin/Issue56_BugInWeekNumber
Fixes #56 (Bug in %U)
2015-03-26 14:35:46 -07:00
Alexandr Nikitin
067ae77ad9 Fix day number calculation taking DST into account
Based on the SO answer http://stackoverflow.com/a/15289883/974487
2015-03-26 21:43:57 +02:00
Alexandr Nikitin
002ac8ca4c Add field report tests for bug in %U in #56 2015-03-26 21:40:46 +02:00
1d4365f3d5 try to fix syntax highlighting on GitHub 2015-03-16 18:07:52 -07:00
30fd95dbba vapourize some stray semicolons 2015-03-16 18:02:54 -07:00
8ba1f03a71 warn about possible misuse of %:: or %::: modifiers 2015-03-16 18:02:34 -07:00
dcc5d54c1b v0.9.1 2015-03-16 17:48:04 -07:00
765f3f1946 minify 2015-03-16 17:48:04 -07:00
4676d05afe add a changelog 2015-03-16 17:47:11 -07:00
437beabe43 add missing contributors to readme & package.json 2015-03-16 17:33:08 -07:00
7b1151c7c0 re-fix issue #38 which was lost in the v0.9 merge 2015-03-16 17:32:56 -07:00
4dcc655477 minify 2015-03-15 17:02:08 -07:00
f4a2c852c3 readme formatting and improved deprecation warnings 2015-03-15 16:57:35 -07:00
affbd8e1cd improve backwards compatibility, fix a couple bugs 2015-03-15 16:45:59 -07:00
543e81ca83 add install instructions for bower and component 2015-03-15 16:19:27 -07:00
e6b696cabd minify 2015-03-15 15:46:07 -07:00
1403c1e6a6 don't ignore browsers in the readme 2015-03-15 15:46:07 -07:00
c6464d0130 make the CommonJS / Node export backwards compatible
also improves deprecation notices
2015-03-15 15:38:16 -07:00
bfe34d92b5 polyfill Date.now for old browsers 2015-03-15 15:20:32 -07:00
23cd5feb98 code formatting / nitpicks 2015-03-15 15:20:31 -07:00
6bf19b4454 remove test directory 2015-03-05 18:29:15 -08:00
ff9b94b3d9 minify & update bower.json 2015-03-05 17:02:53 -08:00
e3cfa8c497 Merge pull request #42 from samsonjs/v0.9
v0.9 rewrite - all about API and performance
2015-03-05 16:59:05 -08:00
e631d81206 Merge branch 'master' into v0.9
Conflicts:
	component.json
	package.json
2015-03-05 16:55:51 -08:00
49568677a7 v0.8.4 2015-03-05 16:51:05 -08:00
c029f7a79e Merge branch 'master' into v0.9
Conflicts:
	strftime.js
	test/test.js
2015-03-05 16:49:32 -08:00
d69f82854a Merge pull request #50 from cheslip/master
added support for extended offset format
2015-03-05 16:35:08 -08:00
Cory Heslip
1222467e47 added tests and updated docs 2015-03-04 17:18:19 -07:00
Cory Heslip
4de2693e51 added support for extended offset format 2015-03-04 16:50:39 -07:00
9146f45142 Merge pull request #48 from alexandrnikitin/Issue47_UtcConversionDoesntWorkCorrectly
(Fixes #47) Fix conversion of date to UTC
2015-03-04 13:43:55 -08:00
Alexandr Nikitin
05c64ef5fb Merge pull request #1 from samsonjs/utc-year
correct fuzzy interpretation of old years by new Date()
2015-03-04 23:43:12 +02:00
f7799a1d21 correct fuzzy interpretation of old years by new Date() 2015-03-04 09:14:58 -08:00
Alexandr Nikitin
b0a4d5a84a Fix conversion of date to UTC
Method based on one of SO answers: http://stackoverflow.com/questions/948532/how-do-you-convert-a-javascript-date-to-utc
2015-03-03 12:26:23 +02:00
9e191bf5c6 ignore test directory in bower.json 2015-02-08 20:44:15 -08:00
14ad6dc902 release v0.8.3 for bower 2015-02-08 20:42:58 -08:00
603326eaed code style and copyright 2015-02-07 20:59:15 -08:00
6bc6888fff add support for %c, %x, and %X (closes #43)
based on @alexandrnikitin's commit here: f25c89bb0f
2015-02-07 20:59:15 -08:00