added two new widgets:

- hour with 12/24 preference
- day of week
This commit is contained in:
Ralf Becker 2004-10-07 22:08:19 +00:00
parent 33f5cb30c8
commit 95375f467c

View File

@ -578,6 +578,8 @@ implement only a subset of XUL. Here are the main differences:</p>
,{start (default=1)},{end (incl., default=10)},{decrement (default={padding zeros}1)}.<br>
Example with padding zeros: options=',0,59,05' will give values: 00, 05, 10, ..., 55
(like you would use it for minutes in a time-field)<br>
<b>select-dow</b>:<br>
Select one or multiple weekdays, keys are as defined in MCAL_M_... (1=Sun, 2=Mon, 4=Tue, ...)<br>
<b>select-app</b>:<br>
Select an application, availible options: ,{''=user enabled(default)|installed|all)}
</td>
@ -601,6 +603,7 @@ implement only a subset of XUL. Here are the main differences:</p>
&lt;date options="Y-m-d,1"/><p>
&lt;date type="date-time"/><p>
&lt;date type="date-timeonly" options="H:i"/>
&lt;date type="date-houronly"/>
</td>
<td>no</td>
<td>date</td>
@ -619,7 +622,8 @@ implement only a subset of XUL. Here are the main differences:</p>
the up-to-date date (via javascript)<br>
<b>one-min-steps</b>: if set (&4) the minute-selectbox uses one minutes steps, default 5min steps<br>
<b>ro-suppress-0h0</b>: if set (&8) the time is suppressed for readonly and a time of 0h0<br>
<b>Sub-widgets</b>: <b>date-time</b>: a date and a time and <b>date-timeonly</b>: only a time<br>
<b>day-of-week-prefix</b>: if set (&16) readonly dates get prefixed with the day of week
<b>Sub-widgets</b>: <b>date-time</b>: a date and a time and <b>date-timeonly</b> or <b>date-houronly</b>: only a time / hour<br>
These widgets allow the input of times too or only, they use 12h am/pm or 24h format as
specified in the user prefs.<br>
<i>If readonly is set, this widget can be used to display a date, without the need to convert it.</i>