0

I'm not sure whether this is a bug or not, so I'm just going to ask this. I created a view (and block) with a 'Comment: Post date' field with 'Time ago (with "ago" appended)' as Date format. I didn't fill in a custom date format.

Everything is previewed perfectly, but when I go to my dashboard, I only see the "ago": the actual numbers (hours, minutes, seconds...) aren't displayed.

I cleared caches, but nothing happened. I'm still using the default Seven 7.23 administration theme for my dashboard and I didn't set a custom template file or anything else. I just created the view.

How can I solve this?

Edit: I exported my view, so you can read the code here.

  • Are you using a custom theme? try switching to drupal default theme and try again. Clearing the cache is also a good idea. – saadlulu Oct 14 '13 at 22:44
  • I cleared caches, but nothing happened. I'm still using the default Seven 7.23 administration theme for my dashboard. – Jeroen Oct 15 '13 at 16:32
  • Could you please export that view so I could take a look at it? – saadlulu Oct 15 '13 at 18:18
  • I updated my question and added a link to the code. – Jeroen Oct 15 '13 at 19:34
  • I've imported your view and placed the block on the sidebar of a test installation. It shows the time as it supposed to. I can take a screenshot of it. Did you set any custom template file for that view? – Елин Й. Oct 15 '13 at 21:05
0

I don't know what causes the problem, but I solved it temporally. I changed the Date format to 'Time ago' an added the 'ago' manually via the 'Rewrite results' function.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.