chore(backend.js): update time keys

This commit is contained in:
Rim 2025-03-14 15:31:16 -04:00
parent 073cff8914
commit 0734d64b90

View File

@ -441,7 +441,7 @@ function formatEpochTime(epoch, timezone) {
}
// Function to recursively process timestamps in the data
function processTimestamps(data, timezone, keysToConvert = ['utcStartSeconds', 'utcEndSeconds', 'timestamp', 'startTime', 'endTime']) {
function processTimestamps(data, timezone, keysToConvert = ['dateAdded', 'utcStartSeconds', 'utcEndSeconds', 'timestamp', 'startTime', 'endTime']) {
if (!data || typeof data !== 'object') return data;
if (Array.isArray(data)) {