xmltv: add support for parsing dates
Date handling is a bit complex, as the format is YYYYmmdd.
Add a parser for it. If the date has day, month and year,
preset it using system's locale.
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>