| Summary: | GitDateFormatter uses wrong locale to create formats | ||
|---|---|---|---|
| Product: | [Technology] EGit | Reporter: | Dani Megert <daniel_megert> |
| Component: | UI | Assignee: | Dani Megert <daniel_megert> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | daniel_megert, markus.kell.r, matthias.sohn, robin.rosenberg |
| Version: | 1.3 | ||
| Target Milestone: | 2.0-M1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Dani Megert
The main purpose of SystemReader is to provide a hook for unit testing, so "it depends", but I suggest you use SystemReader for consistency. Remember the code should work with Java 5 too. (In reply to comment #1) > The main purpose of SystemReader is to provide a hook for unit testing, > so "it depends", but I suggest you use SystemReader for consistency. OK, but we can't use getLocale(). I had to add two new methods to get the DateFormat and the SimpleDateFormat. > Remember the code should work with Java 5 too. Yep. Pushed http://egit.eclipse.org/r/4966 for review. Robin, can you take a look at the comments in the change and reply there? Thanks. merged as 709cd52958e9794827496ce64971a65521ad02d1 2.0.0.201202261814.(In reply to comment #4) > merged as 709cd52958e9794827496ce64971a65521ad02d1 Thanks Matthias! Verified in 2.0.0.201202261814. |