JSON: CMD_LICENSE: remove newlines, add current_time_string, timezone_offset

Version 1.60.2


More information for the CMD_LICENSE?json=yes call. All formatted dates now have the trailing newlines stripped out. New items: "current_time_string": "Fri Jan 31 18:50:23 2020", "timezone_name": "MST", "timezone_offset": "-07.00", "true_expiry_string": "Mon Jan 18 20:14:07 2038", Where the timezone_offset is a standard +-hour:minute, eg: -07:00 The timezone_name is taken from the tzset() call, tzname array, where the "daylight" value determines which of the 2 possible timezone names to use, depending on whether or not daylight savings is in effect.

Try DirectAdmin with a 30-day money back guarantee!