Answer the question
In order to leave comments, you need to log in
How to internationalize dates?
Tell me, please, about working with dates in the symphony.
1. How to display dates in Russian or other languages?
2. How to translate dates in forms?
3. How globally can I change the Format of all dates in twig and forms?
4. How can I display something like this: “5 minutes ago”, “just now”, “Today” ...
5. How to display age?
Perhaps there are some bundles.
Thanks for the help!
Answer the question
In order to leave comments, you need to log in
4. KnpTimeBundle , it was shown and used in SymfonyCasts
Otherwise, you need to twirl Intl Extension - Symfony has the main documentation on setting up the locale, then you need to google your cases and settings for them
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question