diff options
Diffstat (limited to 'server/lib/video-import.ts')
-rw-r--r-- | server/lib/video-import.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/video-import.ts b/server/lib/video-import.ts index de95116aa..d9da09040 100644 --- a/server/lib/video-import.ts +++ b/server/lib/video-import.ts | |||
@@ -125,7 +125,7 @@ async function buildVideoFromImport ({ channelId, importData, importDataOverride | |||
125 | channelId, | 125 | channelId, |
126 | originallyPublishedAt: importDataOverride?.originallyPublishedAt | 126 | originallyPublishedAt: importDataOverride?.originallyPublishedAt |
127 | ? new Date(importDataOverride?.originallyPublishedAt) | 127 | ? new Date(importDataOverride?.originallyPublishedAt) |
128 | : importData.originallyPublishedAt | 128 | : importData.originallyPublishedAtWithoutTime |
129 | } | 129 | } |
130 | 130 | ||
131 | videoData = await Hooks.wrapObject( | 131 | videoData = await Hooks.wrapObject( |