• 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.

      Existing 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}}

            [CONFSERVER-82448] Frontend date time API 8.2 parser and duration formatter

            A fix for this issue is available in Confluence Server and Data Center 8.2.0.
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            Yaroslava Derkach (Inactive) added a comment - A fix for this issue is available in Confluence Server and Data Center 8.2.0. Upgrade now or check out the Release Notes to see what other issues are resolved.

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

                Created:
                Updated:
                Resolved: