mongoose formatdate schema