Timeago usage is missing ISO date format and is instead being given SQL format. Please update to CB 2.0.5 Nightly release then make the below change and see if it calculates fine.
IN: libraries/CBLib/CB/Legacy/LegacyComprofilerFunctions.php
ON: Line 821
FROM:
Code:
if ( strlen( $date ) > 10 ) {
TO:
Code:
$dateISO = $_CB_framework->getUTCDate( 'c', $date );
if ( strlen( $date ) > 10 ) {
ON: Line 825
FROM:
Code:
$date = $_CB_framework->getUTCDate( ( $showTime ? 'Y-m-d H:i:s' : 'Y-m-d' ), $date, ( $offsetOverride !== null ? $offsetOverride : $_CB_framework->getCfg( 'offset' ) ) );
TO:
Code:
$dateISO = $_CB_framework->getUTCDate( 'c', $date, ( $offsetOverride !== null ? $offsetOverride : $_CB_framework->getCfg( 'offset' ) ) );
$date = $_CB_framework->getUTCDate( ( $showTime ? 'Y-m-d H:i:s' : 'Y-m-d' ), $date, ( $offsetOverride !== null ? $offsetOverride : $_CB_framework->getCfg( 'offset' ) ) );
ON: Line 862
FROM:
Code:
$ret = '<span class="cbDateTimeago"' . $attributes . ' title="' . htmlspecialchars( $date ) . '"></span>';
TO:
Code:
$ret = '<span class="cbDateTimeago"' . $attributes . ' title="' . htmlspecialchars( $dateISO ) . '"></span>';
forge.joomlapolis.com/issues/5077