Skip to content
Snippets Groups Projects

fixed date format

Merged Hugo NOUTS requested to merge dev into master
3 files
+ 4
4
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 2
2
@@ -18,8 +18,8 @@ const manualExecution =
process.env.COZY_JOB_MANUAL_EXECUTION === 'true' ? true : false
const startDate = manualExecution
? moment().subtract(1, 'year').format('YYYY-MM-DD')
: moment().subtract(3, 'year').format('YYYY-MM-DD')
? moment().subtract(1, 'year').format('MM/DD/YYYY')
: moment().subtract(3, 'year').format('MM/DD/YYYY')
const endDate = moment().format('MM/DD/YYYY')
// const timeRange = ['day', 'month', 'year']
Loading