mirror of
https://github.com/FreeTubeApp/FreeTube
synced 2024-11-19 00:17:11 +01:00
Skip superfluous conversion to Date in ft-list-video (#5123)
This commit is contained in:
parent
5c6f603880
commit
8c37abaea6
@ -670,7 +670,7 @@ export default defineComponent({
|
||||
this.uploadedTime = new Date(this.data.published).toLocaleDateString([this.currentLocale, 'en'])
|
||||
} else {
|
||||
// Use 30 days per month, just like calculatePublishedDate
|
||||
this.uploadedTime = getRelativeTimeFromDate(new Date(this.data.published), false)
|
||||
this.uploadedTime = getRelativeTimeFromDate(this.data.published, false)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user