Explorar o código

HUE-4138 [editor] Last modified time of a saved query is not in the correct timezone

Enrico Berti %!s(int64=9) %!d(string=hai) anos
pai
achega
8badf5b3b8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      desktop/core/src/desktop/templates/common_header.mako

+ 1 - 1
desktop/core/src/desktop/templates/common_header.mako

@@ -215,7 +215,7 @@ if USE_NEW_EDITOR.get():
         mTime = time();
       }
       if (moment(mTime).isValid()) {
-        return moment(mTime).format("L LT");
+        return moment.utc(mTime).format("L LT");
       }
       return mTime;
     }