优化注释
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user