The manual reports that datetime:%M outputs results in [00:59]
But this test case shows several bugs:
1. Single digit numbers are output without leading zeroes --
contradicting the purported formatting
2. Numbers are not modulo 60 -- numbers 60 and above are output in
full.
Here are a few snips:
1, 1, 1
2, 2, 2
3, 3, 3
4, 4, 4
5, 5, 5
6, 6, 6
7, 7, 7
8, 8, 8
9, 9, 9
10, 10, 10
97, 97, 97
98, 98, 98
99, 99, 99
100, 100, 100
101, 101, 101
102, 102, 102
***** TEST CASE ****
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<@FOR START=1 STOP=120>
<@ASSIGN SCOPE="request" NAME="i" VALUE="<@CURROW>">
<@CURROW>, @@i, <@VAR SCOPE="request" NAME="i" FORMAT="datetime:%M"><br>
</@FOR>
</BODY>
</HTML>
Bill
William M. Conlon, P.E., Ph.D.
To the Point
2330 Bryant Street
Palo Alto, CA 94301
vox: 650.327.2175 (direct)
fax: 650.329.8335
mobile: 650.906.9929
e-mail: mailto:[EMAIL PROTECTED]
web: http://www.tothept.com
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf