date fills the text field with moment