Add new localized versions of lang.FormatNumber etc. #8820
Comments
bep
added a commit
to bep/hugo
that referenced
this issue
Jul 28, 2021
bep
added a commit
to bep/hugo
that referenced
this issue
Jul 28, 2021
bep
added a commit
to bep/hugo
that referenced
this issue
Jul 28, 2021
bep
added a commit
to bep/hugo
that referenced
this issue
Jul 28, 2021
bep
added a commit
to bep/hugo
that referenced
this issue
Jul 29, 2021
bep
added a commit
to bep/hugo
that referenced
this issue
Jul 29, 2021
bep
added a commit
to bep/hugo
that referenced
this issue
Jul 29, 2021
bep
added a commit
to bep/hugo
that referenced
this issue
Jul 29, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We currently have this in the
langtemplate funcs package:The above isn't connected to any language definition, which makes it a little hard to use in a multilingual context.
With the introduction of
time.Formatin a57dda8 we now have the additional methods in the interface below (localized for "all" languages in the world).We need to keep the existing function, so to avoid naming conflict, I suggest we add the below on the form
That way we could also, if we want, add an alias to
FormatTime.Thoughts? @jmooring @moorereason @regisphilibert and gang.
The text was updated successfully, but these errors were encountered: