29 inline const QString toString (
const QDateTime date_time, Opl::Datetime::DateTimeFormat format) {
31 case Opl::Datetime::Default:
32 return date_time.toString(Qt::ISODate);
33 case Opl::Datetime::Backup:
34 return date_time.toString(QStringLiteral(
"yyyy_MM_dd_T_hh_mm"));