From e24de6bef6ee4ff899c0064eea7a59398f908586 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Sun, 8 Sep 2013 07:24:44 +0000 Subject: [PATCH] Use %I for the hours instead of %l. It appears that %l isn't supported on Win32. --- exec/irc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exec/irc.js b/exec/irc.js index 251c4302a1..ee5b57d13a 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, %l:%M:%S%p, %G %Z",time())+"\x01\r\n"); - screen.print_line(">"+from_nick+"<"+" CTCP TIME Reply: "+strftime("%A, %B %d, %l:%M:%S%p, %G %Z",time() )); + 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() )); break; } } -- GitLab