Answer the question
In order to leave comments, you need to log in
Where can I find libraries for writing dates in cursive?
Hello gentlemen.
There was a question on the subject, what PHP, JS libraries would you use in order to complete this task, if they exist at all.
The task, for example, from: 2012-07-24 02:08:23
Generate: two hours, eight minutes, twenty-three seconds, July twenty-fourth, two thousand and twelve
Of course, you can vary the format, but the functionality of something like this is needed. You need at least June 12, 2012 (for example, as it is done in DateTime, you just need to Russify).
In addition, we need a library that can write something like this:
this post was written 12 minutes ago , one minute ago . That is, to have the function of declension of words.
PHP or JS execution languages.
PS:
Let everyone who knows say everything they know and put this question in the favorites for the future, yet a common feature in modern interfaces.
ZY2: you don’t need to write ready-made code with a solution method in the answer, the task is not difficult, you just want to find complex libraries and put them together in one topic.
Thank you for your attention
Answer the question
In order to leave comments, you need to log in
I won’t say anything about PHP, but there is an excellent pytils library in python.
>12 minutes ago, one minute ago. That is, to have the function of declension of words.
If there is a number, then the word associated with it can be inflected using a well-known tool like gettext . Specifically - plural forms .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question