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

              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: