You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2023/05/28 08:04:08 UTC

[Bug 66618] New: add longDate element to XML in directory listing

https://bz.apache.org/bugzilla/show_bug.cgi?id=66618

            Bug ID: 66618
           Summary: add longDate element to XML in directory listing
           Product: Tomcat 8
           Version: 8.5.x-trunk
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: alexkachanov@yandex.ru
  Target Milestone: ----

In my application I need to list directory unsing descending date. Sorting can
easily be done using xslt, but date attribute in XML is a string which is a fll
representation of Java Date that starts from Day of the week. If XSLT sorting
is applied the files sort order does not make any sense. 

To solve this problem I suggest to introduce a new attribute - longDate - which
will be a long value of the Date, i.e. a number whichi will be perfect for
sorting using XSLT.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 66618] add longDate attribute to XML in directory listing

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66618

webmascon <al...@yandex.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|add longDate element to XML |add longDate attribute to
                   |in directory listing        |XML in directory listing

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 66618] add longDate attribute to XML in directory listing

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66618

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #3 from Mark Thomas <ma...@apache.org> ---
Thanks for the PR.

Fixed in:
- 11.0.x for 11.0.0-M7 onwards
- 10.1.x for 10.1.10 onwards
-  9.0.x for  9.0.76 onwards
-  8.5.x for  8.5.90 onwards

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 66618] add longDate attribute to XML in directory listing

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66618

--- Comment #2 from webmascon <al...@yandex.ru> ---
https://github.com/apache/tomcat/pull/622 pull request is created

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 66618] add longDate element to XML in directory listing

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66618

webmascon <al...@yandex.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from webmascon <al...@yandex.ru> ---
this JIRA is created to raise a merge request with a patch

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org