I see errors in the 64-bit Linux release with this simple macro

Sub strangeFormats
  Dim i%
  Dim d As Date
  d = now()
  Dim s$
  Dim formats
  formats = Array("q", "y", "yy", "yyyy", _
                  "m", "mm", "mmm", "mmmm", _
                  "d", "dd", "ddd", "dddd", "ddddd", "dddddd", _
                  "w", "ww", "h", "hh", "n", "nn", "s", "ss", _
                  "ttttt", "c", _
                  "d/mmmm/yyyy h:dd:ss", "d/mmmm/yyyy h:nn:ss")
  For i = LBound(formats) To UBound(formats)
    s = s & formats(i) & " => " & Format(d, formats(i)) & CHR$(10)
  Next
  MsgBox s
End Sub

What I see (correctly):
dd => Two digit day
nn => two digit minute

Incorrect:
"d/mmmm/yyyy h:nn:ss" => nn produces the expected output from ddd, namely the three letter day name.

"d/mmmm/yyyy h:dd:ss" => dd produces the two digit minute, which I expected with nn.

Just want to know how to file the bug!

--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
My Book: http://www.hentzenwerke.com/catalog/oome.htm
Info:  http://www.pitonyak.org/oo.php
See Also: http://documentation.openoffice.org/HOW_TO/index.html


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to