am: use gmtime() to parse mercurial patch date