Project

General

Profile

Actions

Bug #3815

closed

Recent timeago not displaying

Added by krileon over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
13 December 2012
Due date:
% Done:

100%

Estimated time:

Description

When timeago is very recent it is no longer displaying in IE or FF. It displays fine in Chrome. Possibly some sort of jQuery issue.

https://www.joomlapolis.com/forum/153-professional-member-support/216916-cb-activity-lost-qtime-agoq

Actions #1

Updated by krileon over 11 years ago

Seams to oddly only occur for activity logged on Thursdays and Tuesdays. All other days seam fine.

Actions #2

Updated by krileon over 11 years ago

Is due to s = s.replace(/T/," ").replace(/Z/," UTC"); in the timeago jQuery plugin. It's because it's replacing the T with a space so the date is no longer valid.

Actions #3

Updated by krileon over 11 years ago

The format it should be using, while not that readable, is "2008-07-17T09:24:17Z" (ISO 8601 timestamp). So the timeago added to the span as title should be of this same format (in UTC of course).

Actions #4

Updated by krileon over 11 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by krileon over 11 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF