Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Commit

Permalink
am 2a9d1fa: Merge "Make CONTACTS_AS_MULTI_VCARD locale safe"
Browse files Browse the repository at this point in the history
* commit '2a9d1fab1669d2962aa830872f063c1180fbea94':
  Make CONTACTS_AS_MULTI_VCARD locale safe
  • Loading branch information
Makoto Onuki authored and Android Git Automerger committed Oct 2, 2012
2 parents 3b1b1d5 + 2a9d1fa commit 0e01472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/android/providers/contacts/ContactsProvider2.java
Original file line number Diff line number Diff line change
Expand Up @@ -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" +
Expand Down

0 comments on commit 0e01472

Please sign in to comment.