projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eddb82c
)
server-time-iso fix
author
Darren
<darren@darrenwhitlen.com>
Fri, 15 Nov 2013 11:09:23 +0000
(11:09 +0000)
committer
Darren
<darren@darrenwhitlen.com>
Fri, 15 Nov 2013 11:09:23 +0000
(11:09 +0000)
server/irc/commands.js
patch
|
blob
|
blame
|
history
diff --git
a/server/irc/commands.js
b/server/irc/commands.js
index 3882d3da5781802dea54a41c5f5223c7f83c37cd..f951dfa16510866d2debb4b27c6817c3f26c1bbe 100644
(file)
--- a/
server/irc/commands.js
+++ b/
server/irc/commands.js
@@
-1017,7
+1017,7
@@
function getServerTime(command) {
// Convert the time value to a unixtimestamp
if (typeof time === 'string') {
if (time.indexOf('T') > -1) {
- time = parseISO8601(
opts.
time);
+ time = parseISO8601(time);
} else if(time.match(/^[0-9.]+$/)) {
// A string formatted unix timestamp