cfengine/core — pull request #1934 by ediosyncratic (2014-08-29 12:26:39+00:00)
Title: redmine4094: Infer start-time from elapsed when needed.

Some variants of ps report start-time as a date if before today (no
matter how recently today started) or even report a year for dates
before this year (even if new year's day started mere seconds ago).
These, naturally, give very imprecise information. When that happens
but we have an elapsed time column (containing a value we can parse),
use this to infer a better start-time. At the same time, improve
parsing of relevant time strings generally. Based on a patch from
Tony Lill - many thanks.

This is the fix, cherry-picked from master, but with the brittle acceptance test omitted, at least until I can fix it to work properly. For the attention of @vohi.