Can you change the regex for the date part to `\d{4}-\d{2}-\d{2}`. That'll make it more explicit how it works.