- ensure we re-create a moment instance from the cache loaded data
This commit is contained in:
+6
@@ -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,
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user