Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-94282

Frontend date time API 8.9 enhancement format date time by options

    XMLWordPrintable

Details

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      date time APIs since 8.0:

      • web-resource: com.atlassian.confluence.plugins.confluence-frontend:date-time
        <dependency>
            com.atlassian.confluence.plugins.confluence-frontend:date-time
        </dependency>
        

         

      • AMD module: confluence/date-time
      • methods:
        • formatPlainDate
        • formatDate
        • formatTime
        • timeAgo

      extend the date time since 8.1:

      • new methods
        • getDatePattern
        • validate
        • formatNumericDate
      • improved
        • formatDate
          • CLDR 39 complaint

      extend the date time since 8.2:

      • new methods
        • parse
        • formatDateTime
        • formatDuration

      extend the date time since 8.9:

      • new methods
        • formatPlainTime
        • formatPlainDateTime
        • formatDateTimeByOptions

      Attachments

        Issue Links

          Activity

            People

              zxu2@atlassian.com Zac Xu
              zxu2@atlassian.com Zac Xu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: