Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/SheetJS/ssf
:memo: Spreadsheet Number Formatter
https://github.com/SheetJS/ssf
0df2ab980280401609eb6ea6b67c70d792ad73ca authored almost 2 years ago
df34c0b8e080bbd7e255f76d6918d7a7351cc251 authored almost 3 years ago
Co-authored-by: Garrett Luu <[email protected]>
e71eeda4d2a8fb23ba8782dfa7f3688d8e19aa5e authored over 4 years ago6cdd7ac6294bb4ba31eca5a9da78506774c0d678 authored over 4 years ago
- simplified and documented General format processing
- moved CLI to ssf-cli package (h/t @garre...
* Moved cli to packages/ssf-cli
* Modified bin in package.json files
15c017bc5b5fad6ad5ddcf488e99d2928e5b9ac5 authored over 4 years ago
- support 上午/下午 (like AM/PM, supported in en-US and other locales)
- `format(number)` guess form...
b00f11ce336a214a3c43037276058247ed7cb62b authored over 4 years ago
791bf255f53b6e21bf1faa27f0856e2e493cfc39 authored over 4 years ago
- toString suffices for integers in the general format
- separate currency sigil token
fefb415467b38354a76b900664666d4365caa1a6 authored almost 5 years ago
e267d1d667afb7e5d257e45671653df174debddd authored almost 7 years ago
e3efc1ad7d5c13bd6fd97c8b617bc8be3f3d7f73 authored almost 7 years ago
- typescript definitions
- fixed vulnerable regexes (h/t @davisjam)
71f827c4faa89475996acb2458161bac2bbd4280 authored over 7 years ago
- pin dependencies
- JS Date object support
- resolved some out of bounds accesses
- load scans ...
- correct am/pm to AM/PM and a/p to A/P (h/t @vvaldersteins)
- trailing hashes (h/t @kuhu19)
73d8168a9e6f1df0f4411c251a1a4f723e3d3b12 authored over 7 years ago
- fix rollover for near-integral dates (h/t @HuFlungDu)
- removed ssf.md from npm dist
- explicit logical association (&& and ||)
- test for negative pounds (fixes #17 h/t @cesarhermo...
- do not consume trailing currency symbol (fixes #19 h/t @wilg)
- detect minutes following absol...
- dateNF option for default date format override
- general format renders undefined/null as empt...
ecb4515847d9699b49f56224d0d181791e36d1f7 authored almost 8 years ago
56b414b49698f6a11d9178b0e7c03612decebe14 authored almost 8 years ago
354f2bce4ff4831ef0347924e8c323c7bddc2c53 authored almost 8 years ago
4fd36de0712a5f24cdb27d320f2d2b2311200d8e authored almost 8 years ago
695452bffbdd8c18240d7e277402867da9a16a01 authored almost 8 years ago
- handle formats like ???00.00
- return empty string with bad dates under A/P and AM/PM formats
- separate i4/r8 code (core functions optimized by v8)
- prefer faster methods when convenient
-...
- eliminated functional constructs
- simplified fraction handling
- better linting w/jscs
- Literal characters between numbers (fixes #7, h/t @sysarchitect)
- .0/.00/.000 recognized as p...
82ead811b7d26590bb75aba937e18a22626bb328 authored over 10 years ago
- cleaned up implicit boolean to number conversions
- web demo improved (h/t /u/SpsD3GoiFSmXBAl ...
Some versions of Excel render formats with literal hyphens, like `00000\-0000` that
should be pr...
- B2 hijri stubs (TODO: find the algorithm)
- b* correspond to the equivalent year in buddhist c...
95b338304b39a11c311c63b017499a4423271de1 authored almost 11 years ago
- zip + 4
- telephone
- better handling of conditional formats
Due to IEEE754 overflow, there are slight differences in one order of magnitude.
5c12b601fac86c5019a9ad84d752d4fe33a430ed authored almost 11 years agocoveralls target was timing out on travis :/
e2b0e6e0de18bf681ed4accac4b8608011587b3f authored almost 11 years agobased on the actual time format, date codes are properly rounded.
All time tests pass :)
70ec8b076948058e2680c03b801d1d5a918edbe7 authored almost 11 years agoh/t @notatestuser
Fixes https://github.com/SheetJS/ssf/issues/5
Also fixes https://github.com/...
c4282057233ba479c96bc5abb8baa89f77f6e3e4 authored almost 11 years ago
- ??/?? and friends
- stub for 'g' date format
b2940bac2162c2ab0b4444444d464e62f31958df authored almost 11 years ago
0b3732c4437d3a75e7af413a22b6c8aa2a3c5d57 authored almost 11 years ago
02285784a7405336e4d9e510abbbf183f851dfa5 authored almost 11 years ago
- cleaned up tower of cases of the form /^#,##0.0+$/
- formats like 0.## handled
- extraneous '[' does not cause infinite loop
- dates follow excel form (`yyyyyy` treated as `yy...
71a974653db272eef2a3e4b666af759546a309e9 authored almost 11 years ago
- better handling of exponential formats (all tests enabled)
- euro symbol recognized
2f9e0dbc0187fe256eb21afd828407f99dec3de4 authored almost 11 years ago
e5fe3853350b300d5718bf94fb2a90bfdffb9dc7 authored almost 11 years ago
- zh-tw 56 ("上午/下午 "hh"時"mm"分"ss"秒 " currently hardcoded)
- 65535 -> general (silly writers gene...
more formats:
o fractional seconds
o absolute time formats
o generalized engineering notation
o ...
- Updated frac to 0.3.1 (issue with numbers exceeding 2**32)
- Invalid dates render empty string...
- removed ssf_node.js: scripts should define DO_NOT_EXPORT_SSF to prevent export
- added ssf bin...
acdc0d5ffff0f5b0a2f04bfe8e797842d87e1d14 authored about 11 years ago
Infinite loop caused by invalid format string without proper end check. It was
introduced :)
- Proper fraction handling (using frac.cont)
- Better handling of negative number cases
- More t...
5a49d84ae6e1e2f1cfa5b91738360fe9c94ad55d authored about 11 years ago
Many cases are hard-coded and should be parsed before version 1.0
fc9835e8194838d4698849c2bfd2ee1f241fd798 authored about 11 years ago[ci skip]
e1b753f7979f1f5fe30d463b26a0cbafc8b24ad5 authored about 11 years ago30c8c4c071eba2107316ab6746018864ee642d26 authored about 11 years ago
cfb6a520ae10c2f0705b20c690dc31c5eecc8325 authored about 11 years ago
22f04832e3501d592ea5383e7c1da6c3ca595bf2 authored about 11 years ago
e176abd8de620ae078488ce313b5ba8187bea3de authored about 11 years ago