From c9d1f783ec6d0ac185c77f98a9713d12589e2c5c Mon Sep 17 00:00:00 2001
From: Alexandre Morignot <erdnaxeli@gmail.com>
Date: Wed, 16 Oct 2013 13:37:06 +0200
Subject: [PATCH] Bugfix year

---
 lib/commands/parser.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/commands/parser.pm b/lib/commands/parser.pm
index dfb7f09..3e7a280 100644
--- a/lib/commands/parser.pm
+++ b/lib/commands/parser.pm
@@ -43,7 +43,7 @@ sub exec {
             localtime(time);
 
         my ($title, $place, $desc) = ($2, $6, $7);
-        my ($day, $month, $year) = ($3, $4 || $current_mon, $4 || $current_year);
+        my ($day, $month, $year) = ($3, $4 || $current_mon, $5 || $current_year);
 
         $place =~ s/ $//;
 
-- 
GitLab