Commit Graph

29 Commits

Author SHA1 Message Date
c156693778 version bump 0.6.4: alternate forms with literal -
Some versions of Excel render formats with literal hyphens, like `00000\-0000` that
should be properly handled
2014-04-03 01:11:44 -07:00
be19bcd01e version bump 0.6.3: B2 stubs, b format
- B2 hijri stubs (TODO: find the algorithm)
- b* correspond to the equivalent year in buddhist calendar
2014-04-02 11:47:03 -07:00
95b338304b whitespace and semicolons to satiate jshint 2014-03-29 03:34:43 -07:00
af23ae85b4 version bump 0.6.2: special formats
- zip + 4
- telephone
- better handling of conditional formats
2014-03-29 02:41:59 -07:00
5c12b601fa version bump 0.6.1: ** #,###,#00,000.00,**
Due to IEEE754 overflow, there are slight differences in one order of magnitude.
2014-03-28 14:28:39 -07:00
70ec8b0769 version bump 0.6.0: proper time rounding
based on the actual time format, date codes are properly rounded.

All time tests pass :)
2014-03-27 12:50:19 -07:00
c428205723 version bump 0.5.12: correcting for subseconds
h/t @notatestuser

Fixes https://github.com/SheetJS/ssf/issues/5

Also fixes https://github.com/SheetJS/js-xlsx/issues/51
2014-03-27 11:38:12 -07:00
4404d216c2 version bump 0.5.11: improper fractions
- ??/?? and friends
- stub for 'g' date format
2014-03-25 01:48:52 -07:00
b2940bac21 version bump 0.5.10: support trailing commas 2014-03-25 00:42:14 -07:00
0b3732c443 version bump 0.5.9: strip leading # before 0 2014-03-18 20:58:45 -07:00
703b051c15 version bump 0.5.8: 0.##-type formats
- cleaned up tower of cases of the form /^#,##0.0+$/
- formats like 0.## handled
2014-02-17 03:29:07 -05:00
a866c9eabf version bump 0.5.7: addressing extraneous '['
- extraneous '[' does not cause infinite loop
- dates follow excel form (`yyyyyy` treated as `yyyy`)
- more general exponential form (more tests)
- unreachable default cases removed
- 100% test coverage
- added test_min and cov_min targets
2014-02-11 14:20:34 -05:00
9cef36086c version bump 0.5.6: exponential love
- better handling of exponential formats (all tests enabled)
- euro symbol recognized
2014-02-11 00:33:45 -05:00
2f9e0dbc01 version bump 0.5.5: eliminate double-negatives 2014-01-29 20:43:21 -05:00
e5fe385335 version bump 0.5.4: empty text is empty 2014-01-28 20:02:46 -05:00
216fe0459e version bump 0.5.3: 時分秒
- zh-tw 56 ("上午/下午 "hh"時"mm"分"ss"秒 " currently hardcoded)
- 65535 -> general (silly writers generating noncompliant formats)
- more general handling of #/0-based formats (removed hardcoded cases)
- more general fraction handling (up to 7 digit denominators)
- date comma separators
- mysterious LO -?? formats (really should be -##)
2014-01-22 23:23:34 -05:00
b0b3ffea84 version bump 0.5.2: cleanup
more formats:
o fractional seconds
o absolute time formats
o generalized engineering notation
o better resolution in splitting format strings
o support for LO uppercase date+time formats

other changes
- no more prototype pollution
- many many more tests
- passes jshint
- code coverage: blanket + coveralls + travis
- npmignore test files
2014-01-20 03:37:48 -05:00
c299585bfb version bump 0.5.1: more fixes needed for xls
- Updated frac to 0.3.1 (issue with numbers exceeding 2**32)
- Invalid dates render empty string
- Sub-second string format
- First steps towards Engineering format
- Fraction formats don't render blanks in the case of zero
- Trailing spaces removed
- More implied tests
2014-01-12 03:31:44 -05:00
d31879d702 version bump 0.5.0: cleanup
- removed ssf_node.js: scripts should define DO_NOT_EXPORT_SSF to prevent export
- added ssf binary
- updated frac to 0.3.0
- entire table can be pulled and saved
- choose_fmt and format functions can take an external table
- LICENSE year updated
- removed unused tests
2014-01-10 14:09:11 -05:00
acdc0d5fff support for LO Calc's 'GENERAL' format 2014-01-03 11:45:11 -05:00
e9482bfa26 version bump 0.4.1: terminating infinite loop
Infinite loop caused by invalid format string without proper end check.  It was
introduced :)
2013-12-31 11:38:31 -05:00
43f8f00ef5 version bump 0.4.0: improvements across the board
- Proper fraction handling (using frac.cont)
- Better handling of negative number cases
- More tests!
2013-12-26 17:35:42 -05:00
5a49d84ae6 version bump 0.3.1: vagaries in the general format 2013-12-16 19:03:07 -05:00
fc9835e819 version bump 0.3.0: support for standard formats
Many cases are hard-coded and should be parsed before version 1.0
2013-12-16 10:36:22 -05:00
e1b753f797 tweaking general format
[ci skip]
2013-12-15 01:13:59 -05:00
30c8c4c071 version bump 0.2.3: negative number love 2013-12-14 23:50:54 -05:00
cfb6a520ae version bump 0.2.2: fraction love 2013-12-14 21:36:52 -05:00
22f04832e3 version bump 0.2.1: more support for implied types 2013-12-13 22:28:57 -05:00
e176abd8de Initial commit 2013-12-06 11:49:25 -05:00