FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Does template localization include the freemarker date and time built-in function?

    Scheduled Pinned Locked Moved
    Q&A
    templates datetime freemarker
    1
    2
    1.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • danD
      dan
      last edited by

      Can the localization in templates for emails and such include the Freemarker date/time built-in functions?

      --
      FusionAuth - Auth for devs, built by devs.
      https://fusionauth.io

      1 Reply Last reply Reply Quote 0
      • danD
        dan
        last edited by dan

        Yes. Set the locale in the template and this will display the correct values, for example the month name.

        More on freemarker here: https://freemarker.apache.org/docs/

        Here's how to set the locale in a template: https://freemarker.apache.org/docs/ref_directive_setting.html

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • First post
          Last post