Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-19807

Proper java API to perform Date Formatting

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 13.10
    • None
    • None
    • Unknown

    Description

      Right now there's XWiki#formatDate() in oldcore. This needs to be moved into a proper component/API outside of oldcore.

      This API needs to handle:

      • configured date formatting for the current wiki
      • configured user timezone
      • (future) the ability to use the date formatting for a given locale for multilingual wikis. Right now we don't have a way to set this though.

      There's also a need for a Script Service to call this new component/API.

      And there's a need to refactor the existing $datetool velocity tool to use that Script Service.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              vmassol Vincent Massol
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: