We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a69bc6 commit 9260d98Copy full SHA for 9260d98
src/ext.ts
@@ -81,5 +81,6 @@ export async function activate(context: flashpoint.ExtensionContext) {
81
};
82
83
export function getGameDataFilename(data: flashpoint.GameData) {
84
- return `${data.gameId}-${(new Date(data.dateAdded)).getTime()}.zip`;
+ const cleanDate = (data.dateAdded as unknown as string).includes('T') ? data.dateAdded : `${data.dateAdded} +0000 UTC`;
85
+ return `${data.gameId}-${(new Date(cleanDate)).getTime()}.zip`;
86
}
0 commit comments