Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit adbd5b20 authored by Randy Sommerfeld's avatar Randy Sommerfeld

Fix up epoch use in strftime as well

parent 3f6e8e03
......@@ -66,7 +66,7 @@ const MAX_USERHOST = 6; /* Maximum arguments to USERHOST command */
const MAX_REALNAME = 50; /* Maximum length of users real name field */
const SERVER_UPTIME = system.timer;
const SERVER_UPTIME_STRF = strftime("%a %b %d %Y at %H:%M:%S %Z",new Date());
const SERVER_UPTIME_STRF = strftime("%a %b %d %Y at %H:%M:%S %Z",Epoch());
/*** Global Objects, Arrays and Variables - Always in Mixed_Case ***/
......
......@@ -757,7 +757,7 @@ function IRCClient_numeric382(str) {
function IRCClient_numeric391() {
this.numeric(391, ServerName + " :"
+ strftime("%A %B %d %Y -- %H:%M %z",new Date()));
+ strftime("%A %B %d %Y -- %H:%M %z",Epoch()));
}
function IRCClient_numeric401(str) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment