Add minutes UTC offset to timestamp

This commit is contained in:
Daniël 2023-11-14 09:38:50 +01:00 committed by GitHub
parent 51283455a4
commit 3d3d9732e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ if (cbChecked _aceTimestamp && {ACE_player call FUNC(canTimestamp)}) then {
systemTimeUTC params ["", "", "", "_hour", "_min", "_sec"];
_hour = (_hour + round (GVAR(timestampUTCOffset))) % 24;
_hour = if (_hour < 0) then { 24 + _hour } else { _hour };
_hour + _min/60 + _sec/3600
_hour + (_min + GVAR(timestampUTCMinutesOffset))/60 + _sec/3600
};
default {
dayTime