KnpLabs / KnpTimeBundle

Provides helpers for time manipulation
http://knplabs.com
MIT License
599 stars 107 forks source link

Wrong "ago" result #200

Closed pfpro closed 9 months ago

pfpro commented 9 months ago

Hello KnpLabs, I am happily using the current version of your bundle.

If I use the ago function today ("09/16/2023") for the date "02/27/1900", the result is: 3 years ago. Is it possible to display "older" data correctly?

weaverryan commented 9 months ago

Odd. Can you find where the bug is in the code and propose a fix?

pfpro commented 9 months ago

my bad, found the error in my code... sorry for disturbing the peace.