diff -r 4633027730f5 -r e6ad4ef83b23 src/hbwidgets/widgets/hbdatetimepicker.cpp
--- a/src/hbwidgets/widgets/hbdatetimepicker.cpp Wed Aug 18 10:05:37 2010 +0300
+++ b/src/hbwidgets/widgets/hbdatetimepicker.cpp Thu Sep 02 20:44:51 2010 +0300
@@ -311,14 +311,14 @@
Expression | Output |
h | The hour without a leading zero (0 to 23 or 1 to 12). |
hh | The hour with a leading zero (00 to 23 or 01 to 12). |
- H | The hour without a leading zero (0 to 23, even with AM/PM display). |
- HH | The hour with a leading zero (00 to 23, even with AM/PM display). |
+ H | The hour without a leading zero (0 to 23, even with AM/PM display). |
+ HH | The hour with a leading zero (00 to 23, even with AM/PM display). |
m | The minute without a leading zero (0 to 59). |
mm | The minute with a leading zero (00 to 59). |
s | The second without a leading zero (0 to 59). |
ss | The second with a leading zero (00 to 59). |
- AP or A | Displays AM and PM. |
- ap or a | Displays am and pm. |
+ AP or A | Displays AM and PM. |
+ ap or a | Displays am and pm. |
\note Currently you must include separators in the format; for example, 'dd.mm.yy'.
@@ -329,9 +329,9 @@
{
Q_D(HbDateTimePicker);
- if(d->isFormatValid(format)){
+ if(d->isFormatValid(format)){
d->mFormat = format;
- d->parseDisplayFormat(format);
+ d->processDisplaySections();
d->rearrangeTumbleViews();
d->emitDateTimeChange();
}//End If format is valid