Extract commit date for Mercurial