cakephp/cakephp — pull request #4780 by Schlaefer (2014-10-01 08:48:34+00:00)
Title: adds option for future string to CakeTime::timeAgoInWords & code cleanup

- adds a `relativeStringFuture` option defaulting to `__d('cake', 'in %s')` (analog to existing `relativeString` option and ` __d('cake', '%s ago')`)
- also some code cleanup (complex ifs, murky var names, code duplication)