( )⚙ D2289 date: fix parsing months

This is an archive of the discontinued Mercurial Phabricator instance.

date: fix parsing months
ClosedPublic

Authored by quark on Feb 16 2018, 4:26 PM.

Details

Summary

Thanks nemo for discovering this on #mercurial IRC channel.

Test Plan

Add a test. It fails before this patch:

+  hg: parse error: invalid date: 'Feb 2018'
+  hg: parse error: invalid date: 'Apr 2018'
+  hg: parse error: invalid date: 'Jun 2018'
+  hg: parse error: invalid date: 'Sep 2018'
+  hg: parse error: invalid date: 'Nov 2018'

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

quark created this revision.Feb 16 2018, 4:26 PM
martinvonz accepted this revision.Feb 16 2018, 4:28 PM
This revision is now accepted and ready to land.Feb 16 2018, 4:28 PM

Queuing for stable

This revision was automatically updated to reflect the committed changes.