|
|
@@ -75,7 +75,7 @@ const ytThumbnail = (url, desiredSize) => {
|
|
75
|
75
|
const formatDate = (unix, includeTime) => {
|
|
76
|
76
|
const d = new Date(parseInt(unix) * 1000)
|
|
77
|
77
|
return includeTime
|
|
78
|
|
- ? d.toLocaleString('en-US', { timeZone: 'UTC' })
|
|
|
78
|
+ ? d.toLocaleString('en-US', { timeZone: 'UTC', dateStyle: 'short', timeStyle: 'short' })
|
|
79
|
79
|
: d.toLocaleDateString('en-US', { timeZone: 'UTC' })
|
|
80
|
80
|
}
|
|
81
|
81
|
|