Skip to content

Commit 9bda3a3

Browse files
author
vikasrohit
authored
Merge pull request #2390 from appirio-tech/dev
Patch for inconsistent milestone start date for second milestone
2 parents 360e4a8 + d07ef26 commit 9bda3a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/projects/actions/project.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ export function createProjectPhaseAndProduct(project, projectTemplate, status =
320320
if (endDate) {
321321
param['endDate'] = endDate.format('YYYY-MM-DD')
322322
}
323-
console.log(param, 'param')
323+
324324
return createProjectPhase(project.id, param).then((phase) => {
325325
return createPhaseProduct(project.id, phase.id, {
326326
name: projectTemplate.name,
@@ -421,7 +421,7 @@ export function updatePhase(projectId, phaseId, updatedProps, phaseIndex) {
421421
timeline.id,
422422
{
423423
name: timeline.name,
424-
startDate: updatedProps.startDate.format(),
424+
startDate: updatedProps.startDate.format('YYYY-MM-DD'),
425425
reference: timeline.reference,
426426
referenceId: timeline.referenceId,
427427
}

0 commit comments

Comments
 (0)