瀏覽代碼

Merge pull request #559 from smiclea/logs-utc-notice

Add notice about using UTC time in Logs page CO-176
Nashwan Azhari 6 年之前
父節點
當前提交
6c34e937a7
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      src/components/pages/LogsPage/DownloadsContent.tsx

+ 10 - 0
src/components/pages/LogsPage/DownloadsContent.tsx

@@ -33,6 +33,15 @@ const Wrapper = styled.div<any>`
   min-height: 0;
 `
 const Info = styled.div<any>``
+const InfoUtc = styled.div`
+  display: flex;
+  font-size: 12px;
+  align-items: center;
+  margin-top: 16px;
+  > div {
+    margin-right: 8px;
+  }
+`
 const Dates = styled.div<any>`
   display: flex;
   align-items: flex-end;
@@ -199,6 +208,7 @@ class DownloadsContent extends React.Component<Props, State> {
           Optional time range for log download:
         </Info>
         {this.renderDates()}
+        <InfoUtc><StatusIcon status="UNSCHEDULED" />Start and End times must be set in UTC</InfoUtc>
         {this.renderLogs()}
       </Wrapper>
     )