You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great to have it all in one place. Is it a good idea to extend this library to provide both styles?
If yes, I think the transform method could be extended with a $specific parameter, and new methods like compare (or diff) and timespan should be added.
The text was updated successfully, but these errors were encountered:
The library is currently really simple because when I first wrote it I didn't need more functionality. I guess additional formats would be useful but I think this would require some major refactoring because much of the format is kind of hard coded into the code. Any ideas how we could approach this?
What is your opinion about this style of human dates?
Date transformation (compared to now)
Date transformation (compared to another date)
Timespan
See https://github.com/jenssegers/laravel-date
for more examples.
It would be great to have it all in one place. Is it a good idea to extend this library to provide both styles?
If yes, I think the
transform
method could be extended with a$specific
parameter, and new methods likecompare
(ordiff
) andtimespan
should be added.The text was updated successfully, but these errors were encountered: