Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.8.2: Use ISO 8601 date format by default #346

Closed
gitblit opened this issue Aug 12, 2015 · 1 comment
Closed

0.8.2: Use ISO 8601 date format by default #346

gitblit opened this issue Aug 12, 2015 · 1 comment

Comments

@gitblit
Copy link
Collaborator

gitblit commented Aug 12, 2015

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

@gitblit
Copy link
Collaborator Author

gitblit commented Aug 12, 2015

Please see web.datetimestampLongFormat

I'm not inclined to change the default at this time.

Reported by James.Moger on 2012-01-28 19:46:01

  • Status changed: WontFix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants