ROSCONSOLE_FORMAT time zone
I am using the new feature as of noetic in rosconsole where you can format the time according to strftime formats.
export ROSCONSOLE_FORMAT='${time:%r}[${severity}] ${node}: ${message}'
I am wondering how to properly set the time zone so that the messages display times in my local time zone.
When I run the command date
, the times do show in my time zone.
I am running Noetic on Ubuntu 20.04.3
edit: There's a ticket for this.
Listening in here, also interested in solutions. With a ROSCONSOLE_FORMAT definition like yours, my experiments show that python nodes will log with local time and c++ nodes will log with UTC, which makes things even more confusing. And the %z and %Z format options do not seem to be supported.