fix bug in adjust not accounting for h,m,s (dhruvasagar)