优化注释

This commit is contained in:
2025-10-22 15:17:44 +08:00
parent 1df5854201
commit 0a5e1635f1

View File

@@ -173,7 +173,7 @@ const loadData = async () => {
order: sortOrder.order === 'ascending' ? 'asc' : (sortOrder.order === 'descending' ? 'desc' : undefined),
};
// Custom function to format Date objects to YYYY-MM-DDTHH:mm:ssZ00:00
// Custom function to format Date objects to YYYY-MM-DDTHH:mm:ssZ
const formatToRFC3339WithOffset = (date) => {
if (!date) return ''; // Handle null or undefined dates
const year = date.getUTCFullYear();