set statusLastChangeDate to ISO time

parent fb0a97d6
......@@ -21,7 +21,9 @@ exports.postCaseApplication = function(body) {
doc.responsibleAuthority = serviceRecord.responsibleAuthority
doc.statusId = 'eingereicht'
doc.statusDescription = 'Ihr Antrag wird in den nächsten Tagen bearbeitet.'
doc.statusLastChangeDate = new Date().toLocaleDateString('de-DE')
// doc.statusLastChangeDate = new Date().toLocaleString('de-DE')
localISOTime = (new Date(Date.now() - tzoffset)).toISOString().slice(0, -1);
doc.statusLastChangeDate = localISOTime;
doc.decisionDate = ''
doc.decisionJustification = ''
for (const dataObject of doc.dataObjects) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment