Skip to content
Browse files

Merge "Make CONTACTS_AS_MULTI_VCARD locale safe"

  • Loading branch information...
2 parents 7d112d5 + 0788053 commit 2a9d1fab1669d2962aa830872f063c1180fbea94 Makoto Onuki committed with Gerrit Code Review Oct 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/com/android/providers/contacts/ContactsProvider2.java
View
2 src/com/android/providers/contacts/ContactsProvider2.java
@@ -5025,7 +5025,7 @@ protected Cursor queryLocal(final Uri uri, final String[] projection, String sel
}
case CONTACTS_AS_MULTI_VCARD: {
- SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd_HHmmss");
+ SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMdd_HHmmss", Locale.US);
String currentDateString = dateFormat.format(new Date()).toString();
return mActiveDb.get().rawQuery(
"SELECT" +

0 comments on commit 2a9d1fa

Please sign in to comment.
Something went wrong with that request. Please try again.