Fix documentation of generateWithRelativeTime