The parameter $Short can be passed to Kernel::Language::FormatTimeString()¹ to show a date without seconds. At every occation² besides two, this parameter is written as 'NoSeconds', the two exceptions use 1. As this is functionally fine, I suggest to align it for convenience and for making it easier to understand what is going on.
The parameter
$Short
can be passed toKernel::Language::FormatTimeString()
¹ to show a date without seconds. At every occation² besides two, this parameter is written as'NoSeconds'
, the two exceptions use1
. As this is functionally fine, I suggest to align it for convenience and for making it easier to understand what is going on.¹:
https://github.com/RotherOSS/otobo/blob/69dfb36ee690a1e658bb30ab6c9dfdb3b9454546/Kernel/Language.pm#L295-L304
² One Example for comparison:
https://github.com/RotherOSS/otobo/blob/69dfb36ee690a1e658bb30ab6c9dfdb3b9454546/Kernel/Modules/AgentTicketActionCommon.pm#L3468