> El 28/06/11 19:05, Benoît Minisini escribió:
> >> Well. what I'm missing here?
> >> 
> >> I got the same results with rev.3906:
> >>  Print Format$(Now, "hh:nn")
> >>  Print Format$(Now, "hh:nn AM/PM")
> >> 
> >> ----
> >> 18:36
> >> 06:36
> >> 
> >> Finally, shouldn't the last line show "AM" or "PM" at the end?
> > 
> > "AM" or "PM" are actually displayed only if your language has support for
> > it. Otherwise, nothing is displayed. Note that AM/PM may be something
> > else on non- english languages.
> 
> I don't know the internals of locales and formats, but IIRC in Spanish
> the user can choose between 24h format or 12h format, which make sense
> on the am/pm suffix. Personally I never use it, but I was interested to
> see if it was a bug.
> 
> Thanks anyway

Apparently I can't decide that. I just ask the GNU C library to give me the 
AM/PM string for the current language. And for french and spanish, I get a 
null string.

But maybe there is option somewhere I am not aware of!

-- 
Benoît Minisini

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to