Skip to content

Commit

Permalink
fix: update date based unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltford committed Jun 7, 2024
1 parent 5ef104f commit a46c2d5
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions test/formulas/date/testcase.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,21 +57,20 @@ module.exports = {
'DATEVALUE("12/3/2014")': 41976,
'DATEVALUE("Wednesday, December 3, 2014")': 41976,
'DATEVALUE("2014-12-3")': 41976,
'DATEVALUE("12/3")': 44533, // *special
'DATEVALUE("12/3/14")': 41976,
'DATEVALUE("12/03/14")': 41976,
'DATEVALUE("3-Dec")': 44533, // *special
'DATEVALUE("3-Dec-14")': 41976,
'DATEVALUE("03-Dec-14")': 41976,
'DATEVALUE("Dec-3")': 44533, // *special
'DATEVALUE("December-3")': 44533, // *special
'DATEVALUE("12/3")': 45629, // *special
'DATEVALUE("3-Dec")': 45629, // *special
'DATEVALUE("Dec-3")': 45629, // *special
'DATEVALUE("December-3")': 45629, // *special
'DATEVALUE("Dec-3 11:11")': 45629, // *special
'DATEVALUE("December 3, 2014")': 41976,
'DATEVALUE("12/3/14 12:00 AM")': 41976,
'DATEVALUE("12/3/14 0:00")': 41976,
'DATEVALUE("12/03/2014")': 41976,
'DATEVALUE("3-Dec-2014")': 41976,
'DATEVALUE("Dec-3 11:11")': 44533, // *special

'DATEVALUE("1900/1/1")': 1,
'DATEVALUE("4:48:18 PM")': 0,
'DATEVALUE("10000/12/1")': FormulaError.VALUE,
Expand Down

0 comments on commit a46c2d5

Please sign in to comment.