fix a printing bug

time format %M stand for minute. %m stand for month which is what it should be.