|
@@ -97,7 +97,7 @@ void VMetaWordManager::init()
|
|
|
// %MMMM%.
|
|
// %MMMM%.
|
|
|
addMetaWord(MetaWordType::FunctionBased,
|
|
addMetaWord(MetaWordType::FunctionBased,
|
|
|
"MMMM",
|
|
"MMMM",
|
|
|
- tr("the long localized month name (e.g. `January` to `December`"),
|
|
|
|
|
|
|
+ tr("the long localized month name (e.g. `January` to `December`)"),
|
|
|
std::bind(formattedDateTime, _1, "MMMM"));
|
|
std::bind(formattedDateTime, _1, "MMMM"));
|
|
|
|
|
|
|
|
// %yy%.
|
|
// %yy%.
|
|
@@ -115,25 +115,25 @@ void VMetaWordManager::init()
|
|
|
// %h%.
|
|
// %h%.
|
|
|
addMetaWord(MetaWordType::FunctionBased,
|
|
addMetaWord(MetaWordType::FunctionBased,
|
|
|
"h",
|
|
"h",
|
|
|
- tr("the hour without a leading zero (`0` to `23` or `1` to `12` if AM/PM display"),
|
|
|
|
|
|
|
+ tr("the hour without a leading zero (`0` to `23` or `1` to `12` if AM/PM display)"),
|
|
|
std::bind(formattedDateTime, _1, "h"));
|
|
std::bind(formattedDateTime, _1, "h"));
|
|
|
|
|
|
|
|
// %hh%.
|
|
// %hh%.
|
|
|
addMetaWord(MetaWordType::FunctionBased,
|
|
addMetaWord(MetaWordType::FunctionBased,
|
|
|
"hh",
|
|
"hh",
|
|
|
- tr("the hour with a leading zero (`00` to `23` or `01` to `12` if AM/PM display"),
|
|
|
|
|
|
|
+ tr("the hour with a leading zero (`00` to `23` or `01` to `12` if AM/PM display)"),
|
|
|
std::bind(formattedDateTime, _1, "hh"));
|
|
std::bind(formattedDateTime, _1, "hh"));
|
|
|
|
|
|
|
|
// %H%.
|
|
// %H%.
|
|
|
addMetaWord(MetaWordType::FunctionBased,
|
|
addMetaWord(MetaWordType::FunctionBased,
|
|
|
"H",
|
|
"H",
|
|
|
- tr("the hour without a leading zero (`0` to `23` even with AM/PM display"),
|
|
|
|
|
|
|
+ tr("the hour without a leading zero (`0` to `23` even with AM/PM display)"),
|
|
|
std::bind(formattedDateTime, _1, "H"));
|
|
std::bind(formattedDateTime, _1, "H"));
|
|
|
|
|
|
|
|
// %HH%.
|
|
// %HH%.
|
|
|
addMetaWord(MetaWordType::FunctionBased,
|
|
addMetaWord(MetaWordType::FunctionBased,
|
|
|
"HH",
|
|
"HH",
|
|
|
- tr("the hour with a leading zero (`00` to `23` even with AM/PM display"),
|
|
|
|
|
|
|
+ tr("the hour with a leading zero (`00` to `23` even with AM/PM display)"),
|
|
|
std::bind(formattedDateTime, _1, "HH"));
|
|
std::bind(formattedDateTime, _1, "HH"));
|
|
|
|
|
|
|
|
// %m%.
|
|
// %m%.
|