tests: run memcached as a normal user so root access is not required
interval_to_time_t: handle span->day