[sr-dev] git:master:92e2c22c: tmrec: use localtime_r() for a safer multi-thread usage