Needs to hang a minimum of 6 days, preferably 8 days. 60-62F and 55% RH. I like using a two-prong moisture meter (sold for testing lumber and firewood) and bin it when the buds get to about 12%, but also checking moisture of the stems. Sometimes solid thick stems hold moisture longer than buds, or the buds get on the dry side and I will bin and burp them earlier. The bin-burp cycle can go for a few days until moisture content becomes more even between flowers and stems. Ideally I like the flower to hit the trim table around 14% moisture content, and go into a jar at around 12% again, no less than 10%. At that point you can begin curing. I think ideal curing is 2-4 weeks. After 2 months, degradation begins to occur. I'm not a big fan of those long cures.
This also has a lot to do with how it was grown and the potential for oxidation while alive. Healthy cell walls can cure longer without oxidation/browning.