common/socket: Fix date object conversion

parent 951924b0
Pipeline #2920 failed with stage
in 26 seconds