It is definitely country specific.
I went from SYD to New Caledonia recently, knowing that I only had 5 months on my passport. I looked up the regulations for NC online, which was quite easy. Whilst it said it is ‘advisable’ to have 6 months, the rules (and the French love rules) said that all...