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

Frontend date time API 9.5 enhancement format duration by options

XMLWordPrintable

    • 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.
    • CtB - Awesome Tools

      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

      extend the date time since 9.5:

      • new methods
        • formatDurationByOptions
      • improved
        • formatDuration
          • Migrate to Intl.DurationFormat

       

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

                Created:
                Updated:
                Resolved: