Skip to content

Instantly share code, notes, and snippets.

@tofusoup429
Created August 22, 2020 09:29
Show Gist options
  • Save tofusoup429/12410412bcdc2975c60792f4ea360c60 to your computer and use it in GitHub Desktop.
Save tofusoup429/12410412bcdc2975c60792f4ea360c60 to your computer and use it in GitHub Desktop.
addDates-test.js
import {addDates} from '@tofusoup429/excel-date-handlers'
let addDate = addDates('20200131', 2, 'yyyy-mm-dd');
console.log(addDate)
//prints "2020-02-02", not "2020-01-33"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment