Change posts date structure, automatically set the post date before save