[sr-dev] git:master:14645b55: pv: use localtime_r() for a safer multi-thread usage