Skip to content

0.8.2: Use ISO 8601 date format by default #346

Description

@gitblit

Originally reported on Google Code with ID 50

In repository > View file, the dates are represented using locale format:

    refs    HEAD master devel/test 
    author  John Doe <jdoe@example.com> 
>>              lauantai, tammikuu 28, 2012 5:51 ip. EET
    committer   John Doe <jdoe@example.com> 
>>          lauantai, tammikuu 28, 2012 5:51 ip. EET
    commit  94daad27fb0e257c781a66b21b3611598cb18339
    tree    53da65fc3517a69a470ea9bfaab47ef4087ea20d tree | zip

(1) Could you make the date format configurable in gitblit.properties. E.g. allowing
to use complete format from java.util.Date .e.g using "yyyy-MM-dd HH:mm:ss" that would
be suitable for method SimpleDateFormat().

Some Code:
http://vgoldin.blogspot.com/2008/02/adf-using-iso-8601-date-xsd-with-web.html
http://www.java2s.com/Tutorial/Java/0040__Data-Type/ISO8601dateparsingutility.htm

(2) By default the date could be ISO 8601 which is immediately available for international
use.

For more information, see http://www.cl.cam.ac.uk/~mgk25/iso-time.html

Reported by jari.aalto.fi on 2012-01-28 16:07:55

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions