Opened 4 years ago

Last modified 3 years ago

#719 new Feature Wish

replace ctime with POSIX time format

Reported by: Gert Döring Owned by:
Priority: major Milestone: release 2.5
Component: Generic / unclassified Version: OpenVPN git master branch (Community Ed)
Severity: Not set (select this one, unless your'e a OpenVPN developer) Keywords:


if we time-stamp "things" today, we use time_string() in otime.c, which uses ctime() underneath - which has this weird "Thu Nov 24 18:22:48 1986" time format - neither sortable, nor particularily nice for humans either.

People have approached me to replace this with POSIX time stamping (2016-08-11 10:45:03).

The change is trivial, but the potential users of time_string need to be looked at, if anything relies on that time format.

(Logging using --machine-readable-timestamp is not affected, neither is syslogging)

Change History (2)

comment:1 Changed 3 years ago by Gert Döring

Milestone: release 2.4

comment:2 Changed 3 years ago by Gert Döring

Milestone: release 2.4release 2.5

we decided that we're not going to make a change that fundamental "in the release end-run", so bumping to 2.5

Note: See TracTickets for help on using tickets.