@bufferapp/analyze-csv-export
Advanced tools
Comparing version 1.77.0 to 1.77.3
@@ -1,2 +0,2 @@ | ||
import moment from 'moment-timezone'; | ||
import dayjs from 'dayjs'; | ||
@@ -6,4 +6,4 @@ const createChartFilename = (chart, date) => { | ||
const fileDateFormat = 'YYYYMMDD'; | ||
const startDateFormatted = moment(startDate, 'MM/DD/YYYY').format(fileDateFormat); | ||
const endDateFormatted = moment(endDate, 'MM/DD/YYYY').format(fileDateFormat); | ||
const startDateFormatted = dayjs(startDate, 'MM/DD/YYYY').format(fileDateFormat); | ||
const endDateFormatted = dayjs(endDate, 'MM/DD/YYYY').format(fileDateFormat); | ||
@@ -10,0 +10,0 @@ return `${chart.filename}-${startDateFormatted}-to-${endDateFormatted}.csv`; |
{ | ||
"name": "@bufferapp/analyze-csv-export", | ||
"version": "1.77.0", | ||
"version": "1.77.3", | ||
"description": "CSV export button", | ||
@@ -17,4 +17,3 @@ "main": "index.js", | ||
"html2canvas": "^0.5.0-beta4", | ||
"jszip": "^3.1.4", | ||
"moment-timezone": "^0.5.27" | ||
"jszip": "^3.1.4" | ||
}, | ||
@@ -21,0 +20,0 @@ "devDependencies": { |
5
21446
- Removedmoment-timezone@^0.5.27
- Removedmoment@2.30.1(transitive)
- Removedmoment-timezone@0.5.45(transitive)