Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
adbd5b20
Commit
adbd5b20
authored
3 years ago
by
Randy Sommerfeld
Browse files
Options
Downloads
Patches
Plain Diff
Fix up epoch use in strftime as well
parent
3f6e8e03
No related branches found
No related tags found
1 merge request
!463
MRC mods by Codefenix (2024-10-20)
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
exec/ircd.js
+1
-1
1 addition, 1 deletion
exec/ircd.js
exec/load/ircd/core.js
+1
-1
1 addition, 1 deletion
exec/load/ircd/core.js
with
2 additions
and
2 deletions
exec/ircd.js
+
1
−
1
View file @
adbd5b20
...
...
@@ -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 ***/
...
...
This diff is collapsed.
Click to expand it.
exec/load/ircd/core.js
+
1
−
1
View file @
adbd5b20
...
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment