2010/6/26 Andrew Douglas Pitonyak <and...@pitonyak.org>: >
> 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. Same happens for me, except that day name is two letters (in Swedish): d/mmmm/yyyy h:nn:ss => 26-juni-2010 9:lö:46 (lö=lördag=saturday) > > "d/mmmm/yyyy h:dd:ss" => dd produces the two digit minute, which I expected > with nn. I get the correct output in this case: dd => 26 nn => 24 d/mmmm/yyyy h:dd:ss => 26-juni-2010 9:26:46 I'm on Ubuntu 10.04 but I uninstalled the Ubuntu version (since it had a bug that I couldn't live with) and installed the ”vanilla” version instead: OOO320m12 (Build:9483). My computer is old (bought in the end of 2006) so everything is 32-bit. Johnny Rosenberg > > 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: dev-unsubscr...@api.openoffice.org > For additional commands, e-mail: dev-h...@api.openoffice.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org