Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
C4Ai_DR-P
public-service-provider
Commits
7e0f3bf4
Commit
7e0f3bf4
authored
Aug 03, 2020
by
Anastasios Kalogeropoulos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correct date format
parent
51256f52
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
service/AdministrationService.js
service/AdministrationService.js
+1
-1
No files found.
service/AdministrationService.js
View file @
7e0f3bf4
...
...
@@ -17,7 +17,7 @@ exports.getAllApplications = function() {
exports
.
setApplicationStatusToCompleted
=
function
(
verfahrensId
)
{
return
new
Promise
(
function
(
resolve
,
reject
)
{
const
filter
=
{
verfahrensId
:
verfahrensId
};
const
update
=
{
statusId
:
'
bearbeitet
'
,
statusDescription
:
'
Ihr Antrag wurde bearbeitet
'
,
statusLastChangeDate
:
new
Date
().
to
LocaleDateString
(
'
de-DE
'
)};
const
update
=
{
statusId
:
'
bearbeitet
'
,
statusDescription
:
'
Ihr Antrag wurde bearbeitet
'
,
statusLastChangeDate
:
new
Date
().
to
ISOString
(
)};
const
applicationRecord
=
Application
.
findOneAndUpdate
(
filter
,
update
,
function
(
err
,
result
)
{
return
result
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment