Frontend date time API 9.5 enhancement format duration by options

XMLWordPrintable

    • 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

       

            Assignee:
            Zac Xu
            Reporter:
            Zac Xu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: