Skip to content

Commit

Permalink
utils/DateTimeUtils: tweak date formatting, TODO revisit
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloudis committed Mar 12, 2023
1 parent 8714ea4 commit 5d34c45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/DateTimeUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class DateTimeUtils {
new Date(Number(timestamp) * 1000);
listFormattedDate = (
timestamp: number | string,
format = 'd / mm / yyyy HH:MM Z'
format = "ddd, mmm d 'yy, HH:MM Z"
) => {
try {
const date = this.listDate(timestamp);
Expand All @@ -16,7 +16,7 @@ class DateTimeUtils {
};

listFormattedDateShort = (timestamp: number | string) =>
this.listFormattedDate(timestamp, 'd mmm yy');
this.listFormattedDate(timestamp, "mmm d 'yy");
}

const dateTimeUtils = new DateTimeUtils();
Expand Down

0 comments on commit 5d34c45

Please sign in to comment.