Cycling can be much faster than that, or, in some cases, might be that long. If you have a heavily planted tank from the start, and use some mulm in the filter or substrate, cycling can go very fast. Plants that have been growing submersed will have lots of beneficial bacteria growing on them, so, with enough plants you have sufficient bacteria to cope with a few fish in the tank. Of course adding a lot of fish at one time, or big pooping fish, can cause problems from insufficient bacteria being available. And, growing plants consume a lot of ammonia just by growing, so that reduces the immediate need for ammonia eating bacteria.
All good points and I agree. I said usually 1-2 months but there are many factors the OP didn't tell us so I was more making a blanket statement.