mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-11 02:43:50 +02:00
fix: currentCulture mismatch in date formatting
This commit is contained in:
@@ -82,6 +82,9 @@ function formatDateFilter(dateStr, format) {
|
||||
if (!isoFormat && currentCulture) {
|
||||
dateFormat = currentCulture;
|
||||
}
|
||||
if (dateFormat.length > 4 && dateFormat[4] === '_') {
|
||||
dateFormat = dateFormat.slice(0, 4);
|
||||
}
|
||||
|
||||
if (isoFormat && format === 'long') {
|
||||
return toIsoLong(dt);
|
||||
|
||||
Reference in New Issue
Block a user