In the views_handler_field_date.inc file, the end of line 39 currently reads:

If "Time ago" this is the the number of different units to display, which defaults to two.

1) Grammar improvements: There is an extra "the" that should be removed and a comma should be added after "Time ago". (Amusing side note: the extra "the" has survived other patches. See #379602: Add another date format for the raw "time ago" value instead of t('%time ago') for instance.)

2) "defaults to two" could use a better description. I eventually guessed that "two" meant to enter a number into the form like 1 or 2 but "two" itself might be misleading

Feel free to modify this text as you choose. Here would be my suggested new text:

If "Time ago", enter the number of different time units to display, which defaults to 2.

CommentFileSizeAuthor
#2 time-ago-Views-6-dev-handlers.patch1.38 KBjcarlson34
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dawehner’s picture

Version: 7.x-3.x-dev » 6.x-3.x-dev

1) This is a problem in 6.x, too

Let's fix it first in d6.

jcarlson34’s picture

Status: Active » Needs review
FileSize
1.38 KB

Here's a patch for the D6 version. Feel free to change the wording.

jcarlson34’s picture

Dereine, is this issue fixed now? Looks like the D7 version of Views has a completely new way of handling time formats including time ago.

I haven't checked the 6.x-3.x version but I know you guys do a great job of code consistency so if it is changed there as well, this issue may be fixed.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Looks fine from my perspective.

dawehner’s picture

Status: Reviewed & tested by the community » Fixed

Commited.

Thanks for providing the patch

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.