[Gambas-user] New component gb.rss to generate and parse RSS documents

d4t4full at ...626... d4t4full at ...626...
Mon Apr 3 01:55:20 CEST 2017


Got it.
Thanks Benoît.

On Apr 2, 2017, 20:51, at 20:51, "Benoît Minisini" <gambas at ...1...> wrote:
>Le 03/04/2017 à 00:48, d4t4full at ...626... a écrit :
>> I do not see the need to "force" developers needing timezone handling
>> functionality to add a reference to gb.util.web; expecting to have
>> timezone capability in a web component is simply not intuitive.
>>
>> Couldn't the timezone be a new property of the Date type/object,
>> defaulting to the System's timezone? This way older programs and
>> interpreters ignoring it would still work.
>>
>> An alternative would be to add an (optional) timezone pareter to
>> DateAdd, and/or a new Format specifier for timezone. I do not have it
>> present now, but if Gambas has Dateserial/Timeserial functions, they
>> could too receive timezone as optional info.
>>
>> Just my two cents. zxMarce
>>
>
>A lot of confusion again...
>
>Time is absolute in Gambas: there is no timezone associated with a
>Gambas date/time value.
>
>Timezone is a local concept. By the way you have System.Timezone to get
>
>the local timezone of your system.
>
>When I talk about gb.util.web, I think about a function that convert a
>standard (RFC #xxxx) date/time string representation with a timezone to
>
>a Gambas date/time value.
>
>Of course, it can be in gb.util. It depends on the format. If it is a
>specific web date format, it's logical to put it in gb.util.web
>instead.
>
>Regards,
>
>--
>Benoît Minisini
>
>------------------------------------------------------------------------------
>Check out the vibrant tech community on one of the world's most
>engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>_______________________________________________
>Gambas-user mailing list
>Gambas-user at lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/gambas-user



More information about the User mailing list