diff --git a/exec/irc.js b/exec/irc.js
index 251c4302a18223ef1779b371c8d2d5d2c361b6d9..ee5b57d13a4d568c0eef7f71eaa4d43379038d48 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;
 	}
 }