- ensure we re-create a moment instance from the cache loaded data

This commit is contained in:
Mike Penz
2023-07-12 19:11:32 +00:00
committed by GitHub
parent 3b1ae42e11
commit 99c5a385af
3 changed files with 15 additions and 1 deletions
Generated Vendored
+6
View File
@@ -1021,6 +1021,12 @@ function checkExportedData() {
}
}
const options = cache.options;
if (options.fromTag.date) {
options.fromTag.date = (0, moment_1.default)(options.fromTag.date);
}
if (options.toTag.date) {
options.toTag.date = (0, moment_1.default)(options.toTag.date);
}
return {
diffInfo,
mergedPullRequests,