Problem/Motivation

Displays error when used on field with DateTime = 0

Steps to reproduce

  1. Setup view of users
  2. Add field User Last Login to view and set Formatter to Days ago
  3. Add a user that has not logged in

Proposed resolution

Patch to check for 0 and set output to "Never"

CommentFileSizeAuthor
days_ago.patch929 byteschrisjlock

Comments

chrisjlock created an issue. See original summary.

m.abdulqader’s picture

  • 19d86753 committed on 1.0.x
    Issue #3243384 by chrisjlock, m.abdulqader: Exception: DateTime::...
m.abdulqader’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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