Update way to call format dates in post template