time parsing improvements