Commit 88c3b97c authored by unknown's avatar unknown
Browse files

fixed date format

parent b77b9209
{
"version": "0.2.1",
"version": "0.2.2",
"name": "EGL",
"type": "konnector",
"language": "node",
......
{
"name": "egl",
"version": "0.2.1",
"version": "0.2.2",
"description": "",
"repository": {
"type": "git",
......
......@@ -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']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment