@beerwright/core
    Preparing search index...

    Function harvestDateForCropYear

    • The date a crop year means, as an ISO day.

      We use the middle of the picking window, which is about three weeks wide, because it's off by less than the start would be. The year comes from the bag. The month and day are our assumption, so anything showing a figure derived from this should say the date was assumed.

      origin is a country string. A brewer's own hop may have free text there, and a lot may have nothing at all. Both fall back to the northern harvest, which is where most of the world's hops grow.

      Parameters

      • cropYear: number
      • origin: string | null

      Returns string