Programming Phoenix LiveView B10.0: Update year of birth validation for current year (page 173)

The code example allows a year of birth to fall from 1900 through 2022:

|> validate_inclusion(:year_of_birth, 1900..2022)

The book publication date is projected in 2023. I suggest updating the upper validation limit to 2023.

Related: The year_of_birth input field on page 209 has a different date range—from 1920 through 2023:

    <.input
      field={@form[:year_of_birth]}
      type="select"
      label="Year of Birth"
      options={Enum.reverse(1920..2023)}
    />

Thanks! This will be fixed in the next release.