소스 검색

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

Enrico Berti 9 년 전
부모
커밋
8badf5b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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();
         mTime = time();
       }
       }
       if (moment(mTime).isValid()) {
       if (moment(mTime).isValid()) {
-        return moment(mTime).format("L LT");
+        return moment.utc(mTime).format("L LT");
       }
       }
       return mTime;
       return mTime;
     }
     }