Gitlab has been updated. More info here and there.
Not dependant on global variables. `date_num` is no longer relevant.