Ticket #375: Simplified return from fDate->getFuzzyDifference

Reporter: dave Type: enhancement Opened: 6 months ago Status: closed
Assigned to: wbond Priority: major Modified: 5 months ago Resolution: fixed

It would be great if fDate::getFuzzyDifference() could optionally returns just the time difference, excluding the text 'before', 'after', 'from now', or 'ago'.

In cases where Date-A is known to fall after Date-B, it's often preferred to just get '1 month' or '3 years' instead of '1 month after' or '3 years ago'

Attachments

History

Reply 03/15/10 01:24:47 changed by wbond

  • status changed from new to closed.
  • resolution set to fixed.
  • description changed.

The $simple parameter was added in r775

Edit the Ticket



please register or log in to allow for editing your comment

Action