[pacman-dev] [PATCH] Refactor old date parsing into single method