src/hbwidgets/widgets/hbdatetimepicker.cpp
changeset 23 e6ad4ef83b23
parent 21 4633027730f5
child 28 b7da29130b0e
--- 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 @@
     <TR><TD><b><b>Expression </b></TD><TD><b>Output</b> </TD></b></TR>
     <TR><TD> h </TD><TD>The hour without a leading zero (0 to 23 or 1 to 12).</TD></TR>
     <TR><TD> hh </TD><TD>The hour with a leading zero (00 to 23 or 01 to 12). </TD></TR>
-    <TR><TD>H	</TD><TD>The hour without a leading zero (0 to 23, even with AM/PM display).</TD></TR>
-    <TR><TD>HH	</TD><TD>The hour with a leading zero (00 to 23, even with AM/PM display).</TD></TR>
+    <TR><TD>H   </TD><TD>The hour without a leading zero (0 to 23, even with AM/PM display).</TD></TR>
+    <TR><TD>HH  </TD><TD>The hour with a leading zero (00 to 23, even with AM/PM display).</TD></TR>
     <TR><TD> m </TD><TD>The minute without a leading zero (0 to 59).</TD></TR>
     <TR><TD> mm </TD><TD>The minute with a leading zero (00 to 59).</TD></TR>
     <TR><TD> s </TD><TD>The second without a leading zero (0 to 59).</TD></TR>
     <TR><TD> ss </TD><TD>The second with a leading zero (00 to 59).</TD></TR>
-    <TR><TD>AP or A	</TD><TD>Displays AM and PM.</i></TD></TR>
-    <TR><TD>ap or a	</TD><TD>Displays am and pm.</TD></TR>
+    <TR><TD>AP or A </TD><TD>Displays AM and PM.</i></TD></TR>
+    <TR><TD>ap or a </TD><TD>Displays am and pm.</TD></TR>
     </TABLE>
 
     \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