From 61d5d263298055034308f0fea3dee6523c1ce516 Mon Sep 17 00:00:00 2001 From: Miguel Nogueira Date: Mon, 20 May 2024 00:52:47 +0100 Subject: [PATCH] docs: add todo --- .idea/ApacheLogStats.iml | 30 +++++++++++++++--------------- main.rb | 1 + 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/.idea/ApacheLogStats.iml b/.idea/ApacheLogStats.iml index a39aa12..8201cdb 100644 --- a/.idea/ApacheLogStats.iml +++ b/.idea/ApacheLogStats.iml @@ -10,21 +10,21 @@ - + - - - - - - - - - - - - - - + + + + + + + + + + + + + + \ No newline at end of file diff --git a/main.rb b/main.rb index ff4d13e..ef0487a 100644 --- a/main.rb +++ b/main.rb @@ -39,6 +39,7 @@ def get_line_ip(line) line.match(pattern)[0] if line.match(pattern) end +# TODO: Implement visits per month using this method # Returns the date in the current line def get_line_date(line) pattern = /\[(.*?)\]/