mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-06 06:56:54 +08:00
Merge pull request #575 from mz3944/mz-SCI-1205
Added date format constant. [Fixes SCI-1205]
This commit is contained in:
commit
37eef683eb
1 changed files with 3 additions and 1 deletions
|
@ -99,7 +99,7 @@ class Constants
|
|||
DROPDOWN_TOP_OFFSET_PX = 20
|
||||
|
||||
#=============================================================================
|
||||
# Time
|
||||
# Date and time
|
||||
#=============================================================================
|
||||
|
||||
# URL expire time, used for presigned file URLs, because outsiders shouldn't
|
||||
|
@ -111,6 +111,8 @@ class Constants
|
|||
# URL); it expires in exactly one day
|
||||
URL_LONG_EXPIRE_TIME = 86_400
|
||||
|
||||
DATE_FORMAT = '%d.%m.%Y %H:%M'.freeze
|
||||
|
||||
#=============================================================================
|
||||
# Application colors
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue