Skip to content

Commit

Permalink
Merge pull request #6 from FreeSS/DateInDigitalFormat
Browse files Browse the repository at this point in the history
Входные параметры startDate и endDate в цифровом формате
  • Loading branch information
FreeSS authored Jan 22, 2019
2 parents 10a1558 + 5b33f6d commit 6aba85b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/fetch-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ function logInToZoho(login, password) {

function getDataFromZoho(date, modeReport, resBody) {

var sdate = moment(date).subtract(1, 'day').startOf('month').format('DD-MMM-YYYY');
var edate = moment(date).subtract(1, 'day').endOf('month').format('DD-MMM-YYYY');
var sdate = moment(date).subtract(1, 'day').startOf('month').format('DD-MM-YYYY');
var edate = moment(date).subtract(1, 'day').endOf('month').format('DD-MM-YYYY');

var cookies;

Expand Down

0 comments on commit 6aba85b

Please sign in to comment.