We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 770b957 commit 5d049e8Copy full SHA for 5d049e8
src/backend/src/services/OldAppNameService.js
@@ -29,7 +29,7 @@ class OldAppNameService extends BaseService {
29
30
// Check if the app has been renamed in the last N months
31
const [row] = rows;
32
- const timestamp = new Date(
+ const timestamp = row.timestamp instanceof Date ? row.timestamp : new Date(
33
// Ensure timestamp ir processed as UTC
34
row.timestamp.endsWith('Z') ? row.timestamp : row.timestamp + 'Z'
35
);
0 commit comments