瀏覽代碼

change to 24 hour fomat

kaori 5 年之前
父節點
當前提交
01ea73c7cb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/client/js/components/ShareLink/ShareLinkForm.jsx

+ 1 - 1
src/client/js/components/ShareLink/ShareLinkForm.jsx

@@ -22,7 +22,7 @@ class ShareLinkForm extends React.Component {
       numberOfDays: '7',
       description: '',
       customExpirationDate: dateFnsFormat(new Date(), 'yyyy-MM-dd'),
-      customExpirationTime: dateFnsFormat(new Date(), 'hh:mm'),
+      customExpirationTime: dateFnsFormat(new Date(), 'HH:mm'),
     };
 
     this.handleChangeExpirationType = this.handleChangeExpirationType.bind(this);