-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing Duration support #13
Comments
Hey @niondir that is definitely something I would like to add in some time in the future :) I definitely want to get the data being generated from the new JSON CLDR files rather than the old XML to make additions a little easier first though and am finding it very hard to find time to get to it though. |
Any news here? I just spend some time looking into the CLDR files. What's wrong with the XML? As of durations I found them in Example from en.xml:
|
Hey @nikolay-turpitko nothing is wrong with the XML per se, I want to add this along with individual format methods for seconds, minutes, hours etc in case someone only wanted the total in say minutes only. As I said, I just am having trouble finding time getting to it, PR's are welcome :) |
@joeybloggs @niondir |
Thanks I will try to create a project plan in the coming weeks |
BTW, (not directly related to the topic of this issue) I've stumped on some interesting related projects. Probably you are aware of them, but just in case: I haven't tried them myself, currently I do not involved into any multilingual projects. Take a look, may be there is something useful. |
What abbout support for Durations?
I would need something like
FmtDuration(d time.Duration)
to get "20 days 10 hours 5 minutes 3 seconds"The text was updated successfully, but these errors were encountered: