Added parsing with format.
Extracted common functions from date-format,
Added tests.
Still need to add more parsers.
All parsers in.
Have to do more testing.
Avoiding packing and unpacking arguments by using a couple
of instance properties to pass data around.
Completed the API docs.
Changed parseDigits to use regexp.
Now using NaN as an error flag that propagates easily.
Instead of buffer and index, I switched to shifting the
string, because I was doing it a lot anyway and it saved nothing.
Added tests for each of the formatting specs and fixed some of them
Merge branch 'dev-3.x' into dateparser
User Guide.
Fixed an error in parse.
Merge branch 'dev-3.x' into dateparser
Y.Date.format accepts the second argument to be a string
which will be assumed to be the formatting specification.
The API doc comments were fixed
- xPad was documented though it can't actually be accessed
- static methods were not declared so
- a few others.
JSHint errors were also fixed:
- multiple vars
- mixed tabs and spaces
- trailing whitespace
- double equals turned into triple equals
JSHint errors fixed:
- mixed tabs and spaces
- multiple var declarations
- double equals into triple equals
- trailing spaces
API docs fixed:
- static methods were declared so
Fixed API docs comments
- added static declaration on most methods
- added protected to some
Fixed error in I and l formats (12:00am is actually 00:00).
Added support for %Z and derived (%c).
Added timezone abbreviations table.
Postponed century calculation.
Uses Date.UTC when timezone info is present.
Improved and added to tests
Updated user guide indicating limited support for %Z
(timezone abbreviations)
Loads locale language resources on each call to
parse or format so that you can switch languages
on the fly.
Changed a few tests so they work across different time-zones.
Added further tests to almost full coverage.
Discovered errors in military timezones.
Hopefully this will make the test timezone independent.
Merge branch 'dev-3.x' into dateparser
Redesigned the parser to use Y.cached.
Standardized the format of the parsers hash to make
processing faster.
Changed the first element from a string with the name
of the function to an actual function reference.
Added the configurable `cutoff` property to be used
as the default.
Added API docs and general comments.

Added a few more tests.