d97fce4424 
							
						 
					 
					
						
						
							
							ssf repo reorg  
						
						
						
					 
					
						2022-03-09 06:28:19 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							e71eeda4d2 
							
						 
					 
					
						
						
							
							updated travis tests  
						
						... 
						
						
						
						Co-authored-by: Garrett Luu <garrettluu131@gmail.com> 
						
					 
					
						2020-07-02 02:24:11 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							6cdd7ac629 
							
						 
					 
					
						
						
							
							ssf-cli 1.0.1 [ci skip]  
						
						
						
					 
					
						2020-06-27 20:21:36 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							577070b8d7 
							
						 
					 
					
						
						
							
							version bump 0.11.2  
						
						... 
						
						
						
						- simplified and documented General format processing
- moved CLI to ssf-cli package (h/t @garrettluu) 
						
					 
					
						2020-06-27 18:39:56 -04:00 
						 
				 
			
				
					
						
							
							
								Garrett Luu 
							
						 
					 
					
						
						
						
						
							
						
						
							15c017bc5b 
							
						 
					 
					
						
						
							
							CLI refactor  
						
						... 
						
						
						
						* Moved cli to packages/ssf-cli
* Modified bin in package.json files 
						
					 
					
						2020-06-24 12:45:39 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							885b27fda5 
							
						 
					 
					
						
						
							
							version bump 0.11.1  
						
						... 
						
						
						
						- support 上午/下午 (like AM/PM, supported in en-US and other locales)
- `format(number)` guess format if table is missing value
- removed entry 65535 from table 
						
					 
					
						2020-06-17 01:13:59 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							b00f11ce33 
							
						 
					 
					
						
						
							
							version bump 0.11.0  
						
						
						
					 
					
						2020-05-09 01:00:04 -04:00 
						 
				 
			
				
					
						
							
							
								tryan 
							
						 
					 
					
						
						
						
						
							
						
						
							791bf255f5 
							
						 
					 
					
						
						
							
							handle negative numbers in parens  
						
						
						
					 
					
						2020-05-09 00:57:20 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							9eaba42493 
							
						 
					 
					
						
						
							
							version bump 0.10.3  
						
						... 
						
						
						
						- toString suffices for integers in the general format
- separate currency sigil token 
						
					 
					
						2020-03-08 18:32:23 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							fefb415467 
							
						 
					 
					
						
						
							
							fmt_is_date properly handle string literals  
						
						
						
					 
					
						2020-01-25 21:32:32 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							e267d1d667 
							
						 
					 
					
						
						
							
							flow switch to module.exports  
						
						
						
					 
					
						2018-04-21 11:03:20 -04:00 
						 
				 
			
				
					
						
							
							
								Bryan Braun 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e3efc1ad7d 
							
						 
					 
					
						
						
							
							Add a section to the README for examples.  
						
						
						
					 
					
						2018-02-24 11:39:12 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							f6de1799c4 
							
						 
					 
					
						
						
							
							version bump 0.10.2: infrastructure  
						
						... 
						
						
						
						- typescript definitions
- fixed vulnerable regexes (h/t @davisjam) 
						
					 
					
						2018-02-20 22:35:31 -05:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							71f827c4fa 
							
						 
					 
					
						
						
							
							version bump 0.10.1: fixed deps  
						
						
						
					 
					
						2017-07-31 22:28:37 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							80c1a0fec7 
							
						 
					 
					
						
						
							
							version bump 0.10.0:  
						
						... 
						
						
						
						- pin dependencies
- JS Date object support
- resolved some out of bounds accesses
- load scans for available index if not specified
- flow improvements 
						
					 
					
						2017-07-28 16:24:37 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							aa25491492 
							
						 
					 
					
						
						
							
							version bump 0.9.4  
						
						... 
						
						
						
						- correct am/pm to AM/PM and a/p to A/P (h/t @vvaldersteins)
- trailing hashes (h/t @kuhu19) 
						
					 
					
						2017-06-08 20:59:13 -04:00 
						 
				 
			
				
					
						
							
							
								Valters Valdersteins 
							
						 
					 
					
						
						
						
						
							
						
						
							73d8168a9e 
							
						 
					 
					
						
						
							
							am/pm time format fix for google sheets  
						
						
						
					 
					
						2017-06-08 13:36:17 +03:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							5bcd966b22 
							
						 
					 
					
						
						
							
							version bump 0.9.3  
						
						... 
						
						
						
						- fix rollover for near-integral dates (h/t @HuFlungDu)
- removed ssf.md from npm dist 
						
					 
					
						2017-05-16 15:22:19 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							842415c41d 
							
						 
					 
					
						
						
							
							ExtendScript  
						
						... 
						
						
						
						- explicit logical association (&& and ||)
- test for negative pounds (fixes  #17  h/t @cesarhermosilla)
- eslint recommended 
						
					 
					
						2017-05-10 01:57:43 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							d273a28d54 
							
						 
					 
					
						
						
							
							version bump 0.9.2: more formats  
						
						... 
						
						
						
						- do not consume trailing currency symbol (fixes  #19  h/t @wilg)
- detect minutes following absolute hour (fixes  #23  h/t @tedbeer)
- verify the miscellaneous formats (fixes  #27  h/t @reviewher) 
						
					 
					
						2017-05-07 23:49:05 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							f335d310ac 
							
						 
					 
					
						
						
							
							version bump 0.9.1: dateNF + sign  
						
						... 
						
						
						
						- dateNF option for default date format override
- general format renders undefined/null as empty string
- ignore text elements when searching for decimal point
- bubble negative sign to the front when format starts with text
- fixes for eslint + closure
- updated frac to 1.0.6
Issues:
- fixes  #10  h/t @adamgundy @SegFaultx64 @RichardCzechowski
- fixes  #15  h/t @wilg
- fixes  #25  h/t @dougschiller
- fixes  #26  h/t @rjmcguire 
						
					 
					
						2017-04-30 02:40:29 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							ecb4515847 
							
						 
					 
					
						
						
							
							Use charAt for IE6-8 compat ( fixes   #9 )  
						
						
						
					 
					
						2017-03-24 01:07:28 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							56b414b496 
							
						 
					 
					
						
						
							
							increased travis timeout  
						
						
						
					 
					
						2017-03-21 10:31:33 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							354f2bce4f 
							
						 
					 
					
						
						
							
							version bump 0.9.0: is_date helper  
						
						
						
					 
					
						2017-03-21 03:50:08 -04:00 
						 
				 
			
				
					
						
							
							
								Max Walker 
							
						 
					 
					
						
						
						
						
							
						
						
							4fd36de071 
							
						 
					 
					
						
						
							
							rounding carry  
						
						
						
					 
					
						2017-03-16 20:33:29 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							695452bffb 
							
						 
					 
					
						
						
							
							flow typing and cleanup  
						
						
						
					 
					
						2017-03-12 03:34:36 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							097f026d03 
							
						 
					 
					
						
						
							
							version bump 0.8.1: more weird formats  
						
						... 
						
						
						
						- handle formats like ???00.00
- return empty string with bad dates under A/P and AM/PM formats 
						
					 
					
						2014-06-24 20:07:30 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							e32a2894c4 
							
						 
					 
					
						
						
							
							version bump 0.8.0: performance  
						
						... 
						
						
						
						- separate i4/r8 code (core functions optimized by v8)
- prefer faster methods when convenient
- node-based performance tests 
						
					 
					
						2014-06-13 11:02:06 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							9f4aa161e6 
							
						 
					 
					
						
						
							
							version bump 0.7.1: performance  
						
						... 
						
						
						
						- eliminated functional constructs
- simplified fraction handling
- better linting w/jscs 
						
					 
					
						2014-06-04 20:14:59 -04:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							4183a44351 
							
						 
					 
					
						
						
							
							version bump 0.7.0: more intelligent tokenizer  
						
						... 
						
						
						
						- Literal characters between numbers (fixes  #7 , h/t @sysarchitect)
- .0/.00/.000 recognized as potential date tokens
- s+.0+ generates two tokens (with proper handling for `hh .00 .000`)
- proper handling of format strings with mixed 0 and # 
						
					 
					
						2014-05-21 21:16:26 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							82ead811b7 
							
						 
					 
					
						
						
							
							README fix CI badge [ci skip]  
						
						
						
					 
					
						2014-04-25 11:27:27 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							2dd9c7ec99 
							
						 
					 
					
						
						
							
							version bump 0.6.5: eliminating bad idioms  
						
						... 
						
						
						
						- cleaned up implicit boolean to number conversions
- web demo improved (h/t /u/SpsD3GoiFSmXBAl on reddit) 
						
					 
					
						2014-04-25 11:22:36 -07:00 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							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 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							e2b0e6e0de 
							
						 
					 
					
						
						
							
							coveralls target uses min test  
						
						... 
						
						
						
						coveralls target was timing out on travis :/ 
						
					 
					
						2014-03-27 14:31:10 -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 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							02285784a7 
							
						 
					 
					
						
						
							
							adding coveralls badge [ci skip]  
						
						
						
					 
					
						2014-02-17 04:28:06 -05: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 
						 
				 
			
				
					
						
					 
					
						
						
						
						
							
						
						
							71a974653d 
							
						 
					 
					
						
						
							
							added gh-pages demo  
						
						
						
					 
					
						2014-02-11 00:46:45 -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