Updated timestamp code algorithm.

Posted time ago values now are more accurate, match the values on the
site almost exactly. The new algorithm now takes into account "years"
value, which was an issue in the previous one.