Update parser.js

Added "next day" logic to parser.