Commit de8fac7f authored by mvogt's avatar mvogt

[libcontacts] Ensure timestamps use C locale. Contributes to MER#1536

Timestamps must be generated using the C locale, so they do not contain
digits other than Latin.
parent e53ce198
......@@ -3099,7 +3099,7 @@ QString SeasideCache::exportContacts()
QFile vcard(baseDir
+ QDir::separator()
+ QDateTime::currentDateTime().toString("ss_mm_hh_dd_mm_yyyy")
+ QLocale::c().toString(QDateTime::currentDateTime(), QStringLiteral("ss_mm_hh_dd_mm_yyyy"))
+ ".vcf");
if (! {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment