Fixes empty day error in PlaintextExport

This time I took your approach from the GoogleMapsExporter and applied it here as well.

However I think there has to be a better way...