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

Charlie Reinl Karl.Reinl at ...2345...
Sat Aug 29 00:10:46 CEST 2015


Am Freitag, den 28.08.2015, 19:43 +0300 schrieb Jussi Lahtinen:
> The point was, how do I test whether Format function works in some other
> language than what I'm currently using?
> Month names are not any bigger problem than the separators. How do I know
> which is the correct separator?
> 
> 
> Jussi
> 
Salut Jussi,

correct me if I go wrong, I still don't see for what we need the
localization.
Having a Date or Date/Time and we want to format it, where we need
localisation there for.

Using german date is Format(now(),"dd.mm.yyyy") but I also can write
Format(now(),"mm/dd/yyyy") or Format(now(),"dd-mm-yyyy") but also
Format(now(),"dd;mm;yyyy") yes that should work (it's a ';' not a ':')
Please enlighten me, I can't see the usage of localization in that
converting.


-- 
Amicalement
Charlie





More information about the User mailing list