fix(dashboard-v2): use unambigous date format
This commit is contained in:
parent
a392863cbe
commit
bf55ca8fbe
|
@ -10,7 +10,7 @@ const parseFileName = (fileName) => {
|
||||||
|
|
||||||
const formatItem = ({ size, name: rawFileName, uploadedOn, downloadedOn, ...rest }) => {
|
const formatItem = ({ size, name: rawFileName, uploadedOn, downloadedOn, ...rest }) => {
|
||||||
const [name, type] = parseFileName(rawFileName);
|
const [name, type] = parseFileName(rawFileName);
|
||||||
const date = dayjs(uploadedOn || downloadedOn).format("MM/DD/YYYY HH:MM");
|
const date = dayjs(uploadedOn || downloadedOn).format("MMM D, YYYY HH:MM");
|
||||||
|
|
||||||
return {
|
return {
|
||||||
...rest,
|
...rest,
|
||||||
|
|
|
@ -10,7 +10,7 @@ const parseFileName = (fileName) => {
|
||||||
|
|
||||||
const formatItem = ({ size, name: rawFileName, uploadedOn, downloadedOn, ...rest }) => {
|
const formatItem = ({ size, name: rawFileName, uploadedOn, downloadedOn, ...rest }) => {
|
||||||
const [name, type] = parseFileName(rawFileName);
|
const [name, type] = parseFileName(rawFileName);
|
||||||
const date = dayjs(uploadedOn || downloadedOn).format("MM/DD/YYYY HH:MM");
|
const date = dayjs(uploadedOn || downloadedOn).format("MMM D, YYYY HH:MM");
|
||||||
|
|
||||||
return {
|
return {
|
||||||
...rest,
|
...rest,
|
||||||
|
|
Reference in New Issue