add right datetime format
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user