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

      Removed API:

      • web-resource: confluence.web.resources:date-time-formatting
      • AMD module: confluence/date-time-formatting

      New API:

      • 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

            [CONFSERVER-80058] New frontend date time 8.0 APIs

            Zac Xu made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 988360 ]
            Zac Xu made changes -
            Link New: This issue followed by CONFSRVDEV-37058 [ CONFSRVDEV-37058 ]
            Zac Xu made changes -
            Summary Original: New frontend date time APIs New: New frontend date time 8.0 APIs
            Zac Xu made changes -
            Summary Original: New front end date and time APIs New: New frontend date time APIs
            Zac Xu made changes -
            Description Original: Removed API:
             * web-resource: {{confluence.web.resources:date-time-formatting}}
             * AMD module: {{confluence/date-time-formatting}}

            New API:
             * web-resource: {{com.atlassian.confluence.plugins.confluence-frontend:date-time}}
             * AMD module: {{confluence/date-time}}
             * Methods:
             ** {{formatPlainDate}}
             ** {{formatDate}}
             ** {{formatTime}}
             ** {{timeAgo}}
            New: Removed API:
             * web-resource: {{confluence.web.resources:date-time-formatting}}
             * AMD module: {{confluence/date-time-formatting}}

            New API:
             * web-resource: {{com.atlassian.confluence.plugins.confluence-frontend:date-time}}

            {code:java}
            <dependency>
                com.atlassian.confluence.plugins.confluence-frontend:date-time
            </dependency>
            {code}

             * AMD module: {{confluence/date-time}}
             * Methods:
             ** {{formatPlainDate}}
             ** {{formatDate}}
             ** {{formatTime}}
             ** {{timeAgo}}
            Niraj Bhawnani made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 783431 ]
            Zac Xu made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 782230 ]
            Zac Xu made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 730282 ]
            Sen Geronimo made changes -
            Workflow Original: JAC Suggestion Workflow 4 [ 4299201 ] New: JAC Suggestion Workflow 3 [ 4341138 ]
            993918850c71 made changes -
            Link New: This issue was cloned as CONFSERVER-81552 [ CONFSERVER-81552 ]

              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: