Skip to content
Snippets Groups Projects
Commit adbd5b20 authored by Randy Sommerfeld's avatar Randy Sommerfeld
Browse files

Fix up epoch use in strftime as well

parent 3f6e8e03
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment