Template:Month/doc

undefined is a constituent part of DayNav. It tells DayNav what the month is, based upon the page name of the page on which it's placed. If it's on 3 January, for instance, it will inform DayNav that the month is January.