changed how times are rendered in rails