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

deduplication of date formats in repositories #1336

Merged
merged 2 commits into from Jan 20, 2017
Merged

Conversation

tulinkry
Copy link
Contributor

@tulinkry tulinkry commented Jan 20, 2017

fixes #1326

Reindex needed (not full, just some of the properities in configuration.xml have changed).

@tulinkry
Copy link
Contributor Author

Conflicts resolved

{
// initialize date formatters
for (int i = 0; i < datePatterns.length; i++) {
formatters[i] = new SimpleDateFormat(datePatterns[i], Locale.US);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not quite sure here about the locale. Maybe the default would be better choice.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 it should match the locale the system is running with

@vladak vladak merged commit d2db363 into oracle:master Jan 20, 2017
@tulinkry tulinkry deleted the dedup branch January 20, 2017 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

deduplicate getDateFormat()
2 participants