[Gambas-user] [Gambas Bug Tracker] Bug #704: Format does not handle time separator correctly

Jussi Lahtinen jussi.lahtinen at ...626...
Fri Aug 28 00:35:29 CEST 2015


I have a feeling this is not first time I get confused with that...

So, this:
Format(Now, "hh\\:mm dd\\/mm\\/yyyy")

Yields this, ignoring localization:
15:08 27/08/2015

Documentation could be bit more specific how to quote the characters, there
are other non-working options like \:\, or \:.
Maybe the above could be one of the examples.


Jussi




On Thu, Aug 27, 2015 at 11:34 PM, <bugtracker at ...3416...> wrote:

> Comment #15 by Benoît MINISINI:
>
> It's because "/" and ":" are replaced by localizes separators. If you want
> only these characters, you have to quote them.
> Read the documentation of Format$() on the wiki:
> http://gambaswiki.org/wiki/cat/userformat
>
>
>



More information about the User mailing list