mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
use BIS fnc for time format
This commit is contained in:
parent
94eaeb38cc
commit
f0036fabbb
@ -46,13 +46,7 @@ _position set [2, 0];
|
||||
_rallypoint setPosATL _position;
|
||||
_unit reveal _rallypoint;
|
||||
|
||||
// fix leading zero
|
||||
local _minutes = date select 4;
|
||||
if (_minutes < 10) then {
|
||||
_minutes = format ["0%1", _minutes];
|
||||
};
|
||||
|
||||
_rallypoint setVariable [QGVAR(markerDate), format ["%1:%2", date select 3, _minutes], true];
|
||||
_rallypoint setVariable [QGVAR(markerDate), [dayTime, "HH:MM"] call BIS_fnc_timeToString, true];
|
||||
|
||||
["rallypointMoved", [_rallypoint, _side, _position]] call EFUNC(common,globalEvent);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user