@@ -21,8 +21,7 @@ import {
2121 WorkPackageProposedChangesCreateArgs ,
2222 WorkPackageStage ,
2323 User ,
24- formatDateOnly ,
25- toDateString
24+ formatDateOnly
2625} from 'shared' ;
2726import { DeletedException , HttpException , NotFoundException } from './errors.utils.js' ;
2827import { ChangeRequestStatus } from 'shared' ;
@@ -449,7 +448,7 @@ export const applyWorkPackageProposedChanges = async (
449448 workPackageProposedChanges . wbsProposedChanges . name ,
450449 crId ,
451450 workPackageProposedChanges . stage as WorkPackageStage ,
452- toDateString ( workPackageProposedChanges . startDate ) ,
451+ workPackageProposedChanges . startDate . toISOString ( ) . split ( 'T' ) [ 0 ] ,
453452 workPackageProposedChanges . duration ,
454453 workPackageProposedChanges . blockedBy ,
455454 workPackageProposedChanges . wbsProposedChanges . proposedDescriptionBulletChanges . map (
@@ -465,7 +464,7 @@ export const applyWorkPackageProposedChanges = async (
465464 wbsProposedChanges . name ,
466465 crId ,
467466 workPackageProposedChanges . stage as WorkPackageStage ,
468- toDateString ( workPackageProposedChanges . startDate ) ,
467+ workPackageProposedChanges . startDate . toISOString ( ) . split ( 'T' ) [ 0 ] ,
469468 workPackageProposedChanges . duration ,
470469 workPackageProposedChanges . blockedBy ,
471470 wbsProposedChanges . proposedDescriptionBulletChanges . map ( descriptionBulletToDescriptionBulletPreview ) ,
0 commit comments