hack together date fix