diff --git a/exec/irc.js b/exec/irc.js index ee5b57d13a4d568c0eef7f71eaa4d43379038d48..abd7a418c4e0eefa3101aee21fd27ed358914ffa 100644 --- a/exec/irc.js +++ b/exec/irc.js @@ -807,8 +807,8 @@ function handle_ctcp(prefix,message) { case "TIME": from_nick=get_highlighted_nick(prefix,message); to_nick=get_nick(prefix); - sock.send("NOTICE "+to_nick+" :\x01TIME "+strftime("%A, %B %d, %I:%M:%S%p, %G %Z",time())+"\x01\r\n"); - screen.print_line(">"+from_nick+"<"+" CTCP TIME Reply: "+strftime("%A, %B %d, %I:%M:%S%p, %G %Z",time() )); + sock.send("NOTICE "+to_nick+" :\x01TIME "+strftime("%A, %B %d, %I:%M:%S%p, %Y %Z",time())+"\x01\r\n"); + screen.print_line(">"+from_nick+"<"+" CTCP TIME Reply: "+strftime("%A, %B %d, %I:%M:%S%p, %Y %Z",time() )); break; } }