Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Commit

Permalink
Merge branch 'mer-1536' into 'master'
Browse files Browse the repository at this point in the history
[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.

See merge request !2
  • Loading branch information
matthewvogt committed Mar 4, 2016
2 parents e53ce19 + de8fac7 commit 592a3f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/seasidecache.cpp
Expand Up @@ -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 (!vcard.open(QIODevice::WriteOnly)) {
Expand Down

0 comments on commit 592a3f0

Please sign in to comment.