add right datetime format

This commit is contained in:
Dmitriynj
2020-12-24 15:14:32 +03:00
committed by Daniel Hutzel
parent 4816028fc1
commit fe52eec28e
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ const INVOICE_STATUS = {
};
const CANCELLED_STATUS = -1;
const DATE_TIME_FORMAT_PATTERN = 'LLLL';
const UTC_DATE_TIME_FORMAT = 'YYYY-MM-DDThh:mm:ss';
const UTC_DATE_TIME_FORMAT = 'YYYY-MM-DDThh:mm:ssZ';
const INVOICE_ITEMS_COLUMNS = [
{
title: 'Track name',

View File

@@ -4,7 +4,7 @@ const moment = require("moment");
const LEVERAGE_DURATION = 1; // in hours. should be the same in the frontend
const CANCEL_STATUS = -1;
const SHIPPED_STATUS = 1;
const UTC_DATE_TIME_FORMAT = "YYYY-MM-DDThh:mm:ss";
const UTC_DATE_TIME_FORMAT = "YYYY-MM-DDThh:mm:ssZ";
function roundNumber(num) {
return Math.round((num + Number.EPSILON) * 100) / 100;