Skip to content

Commit

Permalink
add right datetime format
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaanj committed Dec 24, 2020
1 parent 7550c3b commit e4fa2d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chinook/app/front/src/components/MyInvoicesPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion chinook/srv/browse-invoices-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e4fa2d3

Please sign in to comment.