You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2025/06/18 12:22:46 UTC

(superset) 03/11: fix(Alerts & reports): invalid "Last updated" time formatting (#33719)

This is an automated email from the ASF dual-hosted git repository.

michaelsmolina pushed a commit to branch 5.0
in repository https://gitbox.apache.org/repos/asf/superset.git

commit be139508f41b36e31319133f66098d39ea3f3aec
Author: Vladislav Korenkov <73...@users.noreply.github.com>
AuthorDate: Tue Jun 10 03:52:47 2025 +1000

    fix(Alerts & reports): invalid "Last updated" time formatting (#33719)
    
    (cherry picked from commit 3ef92e56104c123bec22a47a0bbf08afef76dfb2)
---
 superset-frontend/src/utils/dates.ts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/superset-frontend/src/utils/dates.ts b/superset-frontend/src/utils/dates.ts
index a1155dc1af..8124490fdb 100644
--- a/superset-frontend/src/utils/dates.ts
+++ b/superset-frontend/src/utils/dates.ts
@@ -25,6 +25,7 @@ import relativeTime from 'dayjs/plugin/relativeTime';
 import customParseFormat from 'dayjs/plugin/customParseFormat';
 import duration from 'dayjs/plugin/duration';
 import updateLocale from 'dayjs/plugin/updateLocale';
+import localizedFormat from 'dayjs/plugin/localizedFormat';
 import isSameOrBefore from 'dayjs/plugin/isSameOrBefore';
 
 dayjs.extend(utc);
@@ -34,6 +35,7 @@ dayjs.extend(relativeTime);
 dayjs.extend(customParseFormat);
 dayjs.extend(duration);
 dayjs.extend(updateLocale);
+dayjs.extend(localizedFormat);
 dayjs.extend(isSameOrBefore);
 
 dayjs.updateLocale('en', {