formatting of current date moved