<p>In plugins/sslutils.c:</p>
<pre style='color:#555'>> @@ -209,10 +210,8 @@ int np_net_ssl_check_cert(int days_till_exp_warn, int days_till_exp_crit){
>  
>    time_left = difftime(timegm(&stamp), time(NULL));
>    days_left = time_left / 86400;
> -  snprintf
> -          (timestamp, 17, "%02d/%02d/%04d %02d:%02d",
> -           stamp.tm_mon + 1,
> -           stamp.tm_mday, stamp.tm_year + 1900, stamp.tm_hour, stamp.tm_min);
> +  tm_t = mktime (&stamp);
> +  strftime(timestamp, 50, "%c", localtime(&tm_t));
</pre>
<p>seems to be in FreeBSD 1.0: "<a href="http://www.freebsd.org/cgi/man.cgi?query=strftime&apropos=0&sektion=3&manpath=FreeBSD+1.0-RELEASE&arch=default&format=html">www.freebsd.org/cgi/man.cgi?query=strftime&apropos=0&sektion=3&manpath=FreeBSD+1.0-RELEASE&arch=default&format=html</a>"</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br><a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1188/files#r15161634">Reply to this email on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/5514713__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyMTU1NjQ2OSwiZGF0YSI6eyJpZCI6MTc2NDcxMjZ9fQ==--ae5b2100d22c970b768ad04e13ac3b6d8c3cf77c.gif" width="1" /></p>