1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 07:27:04 +00:00

[share dialog] share link / upload link: use '24 hour time' for expiration (#4549)

This commit is contained in:
llj
2020-04-28 13:09:05 +08:00
committed by GitHub
parent 744eca3a7c
commit ca7d57e408
2 changed files with 2 additions and 2 deletions

View File

@@ -336,7 +336,7 @@ class GenerateShareLink extends React.Component {
{sharedLinkInfo.expire_date && (
<FormGroup className="mb-0">
<dt className="text-secondary font-weight-normal">{gettext('Expiration Date:')}</dt>
<dd>{moment(sharedLinkInfo.expire_date).format('YYYY-MM-DD hh:mm:ss')}</dd>
<dd>{moment(sharedLinkInfo.expire_date).format('YYYY-MM-DD HH:mm:ss')}</dd>
</FormGroup>
)}