Hi Busybox team,

I was using busybox version 1.15.2. One of my requirement  is I need a
timestamp in syslog message as localtime zone instead of GMT. I found below
patch link to adjust the timezones.
http://lists.busybox.net/pipermail/busybox/2017-May/085437.html .

>* +            if (G.adjustTimezone && strptime(msg, "%b %e %T", &nowtm)) {
*>* +                   now = mktime(&nowtm) - timezone;
*>* +                   timestamp = ctime(&now) + 4; /* skip day of week */
*>* +           } else {
*>* +                   now = 0;
*>* +                   timestamp = msg;
*>* +           }*


But i didn't get where *timezone *is defined and what it is contained, Can
you help us where it is defined and what it is contained.

Thanks,
Venkat K
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to