Skip to content

Commit

Permalink
Update date
Browse files Browse the repository at this point in the history
  • Loading branch information
o-seliuchenko committed Nov 25, 2020
1 parent 7dcf160 commit 6d76efe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/models/Need.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ function Need (data) {
'CustomMessage': self.customMessage(),
'Keywords': keywords,
'ClientGroupKeys': self.сlientGroupKeys(),
'NeededDate': self.startDate(),
'EndDate': self.endDate()
'NeededDate': new Date(self.startDate()),
'EndDate': new Date(self.endDate())
}

if (self.id() === undefined) { // adding
Expand Down

0 comments on commit 6d76efe

Please sign in to comment.