aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-04-05 15:35:03 -0400
committerIvan Chen <ivan@tagg.id>2021-04-05 15:35:03 -0400
commit4720aa7f84d7924309c4c5fdc7526166bf7e0718 (patch)
tree049aa8935872b0498966d64f1e6455ef0cd61d1a /src
parentf0d4f91c941c121c30438e4a8b2a621885bc7421 (diff)
updated date format
Diffstat (limited to 'src')
-rw-r--r--src/utils/moments.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/moments.ts b/src/utils/moments.ts
index 9b8e0075..87f062af 100644
--- a/src/utils/moments.ts
+++ b/src/utils/moments.ts
@@ -33,7 +33,7 @@ export const getTimePosted = (date_time: string) => {
}
// More than 3 days
else if (difference >= 24 * 60 * 60 * 3) {
- time = datePosted.format('YYYY/MM/DD');
+ time = datePosted.format('MMMM D, YYYY');
}
return time;
};