CMS MADE SIMPLE FORGE

Bird Feed

 

[#8602] Friendly time incorrect?

avatar
Created By: Catherine (hebcat)
Date Submitted: Thu Nov 01 10:49:45 -0400 2012

Assigned To: Ben Bonora (bbonora)
Version: 1.0
CMSMS Version: 1.11.2.1
Severity: Minor
Resolution: None
State: Open
Summary:
Friendly time incorrect?
Detailed Description:
Not sure if this is a bug or not so hopefully I'm not tarring your work
mistakenly.

The "friendly" time format displays wrong; a tweet made today gets put up as
"last month".

Have checked both my local time & server time, both are correct.
When I use "php" time format, the resulting timestamp is correct -- which makes
me think the error is in script's conversion.

On a separate note, in the help>parameters page, you may want to change the 2nd
snippet of code from:
{birdfeed username=bbonora count=10 dateformat=friendly}
to
{birdFeed username=bbonora count=10 dateformat=friendly}
... capital F in birdFeed

Thanks


History

Comments
avatar
Date: 2012-11-01 12:51
Posted By: Ben Bonora (bbonora)

I think I must of introduced this bug when I added php 5.2 support. If you have
php 5.3 or higher try using the first release. I'll look into this issue and
create a patch.

Thanks for your feedback and let me know if you find anything else.
      
avatar
Date: 2012-11-01 18:09
Posted By: Catherine (hebcat)

Thanks Ben. I'm on PHP 5.2.17.
For the time being I'll just put in in without a date, it's cool, thanks for the
great script.
      
avatar
Date: 2013-05-13 07:33
Posted By: Paul Baker (paulbaker)

Using 0.3b: I grabbed the whole of function parseDate from version 0.1b and
pasted it in replacing the one in in 0.3b.  This solved the bug.

Nice work, thanks!
      
Updates

Updated: 2012-11-01 12:51
resolution_id: => 5