changing dates to <time>