diff --git a/config/initializers/constants.rb b/config/initializers/constants.rb index 357fd8f13..3b48409e1 100644 --- a/config/initializers/constants.rb +++ b/config/initializers/constants.rb @@ -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 #