Re: [Gambas-user] variable in WebForm not remember

2017-01-15 Thread Benoît Minisini
Le 16/01/2017 à 01:20, מיוסט שרון a écrit : >>> hello >>> >>> I have WebForm1 >>> I put on the WebForm1 two controls of WebButton1 WebButton2 >>> I have a variable of type String named my_A >>> I would like when I press the WebButton1 the my_A = "sharon" and when I >>> click on >>> WebButton2 I

Re: [Gambas-user] variable in WebForm not remember

2017-01-15 Thread מיוסט שרון
> > hello > > > > I have WebForm1 > > I put on the WebForm1 two controls of WebButton1 WebButton2 > > I have a variable of type String named my_A > > I would like when I press the WebButton1 the my_A = "sharon" and when I > > click on > > WebButton2 I want to get the value found in my_A > > > > >

Re: [Gambas-user] Beware to revision #7983!

2017-01-15 Thread Jussi Lahtinen
> Internal date are always stored in GMT. The confusion comes when you > transform them into a string or from a string. > This is exactly what I meant. I think it should be more clear in the documentation that output of CDate() is in GMT (same as UTC?) and input is assumed to be local date,

Re: [Gambas-user] variable in WebForm not remember

2017-01-15 Thread Benoît Minisini
Le 15/01/2017 à 18:31, מיוסט שרון a écrit : > hello > > I have WebForm1 > I put on the WebForm1 two controls of WebButton1 WebButton2 > I have a variable of type String named my_A > I would like when I press the WebButton1 the my_A = "sharon" and when I click > on > WebButton2 I want to get the

Re: [Gambas-user] Beware to revision #7983!

2017-01-15 Thread Benoît Minisini
Le 15/01/2017 à 16:58, Jussi Lahtinen a écrit : > Benoit is it possible add this timezone conversion suggestion to CDate()? > > Date = CDate ( Expression AS Variant [, InputTimeZone AS Integer, > OutputTimeZone AS Integer ] ) AS Date > > This way you could tell CDate what is the timezone you are

[Gambas-user] variable in WebForm not remember

2017-01-15 Thread מיוסט שרון
hello I have WebForm1 I put on the WebForm1 two controls of WebButton1 WebButton2 I have a variable of type String named my_A I would like when I press the WebButton1 the my_A = "sharon" and when I click on WebButton2 I want to get the value found in my_A The problem that when I click on

[Gambas-user] [Gambas Bug Tracker] Bug #1068: CDate: strange behavior on first day of year

2017-01-15 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1068=L21haW4- Gianluigi GRADASCHI changed the state of the bug to: Opened. -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi

[Gambas-user] [Gambas Bug Tracker] Bug #1068: CDate: strange behavior on first day of year

2017-01-15 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1068=L21haW4- Gianluigi GRADASCHI changed the state of the bug to: Rejected. -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi

[Gambas-user] [Gambas Bug Tracker] Bug #1068: CDate: strange behavior on first day of year

2017-01-15 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1068=L21haW4- Gianluigi GRADASCHI changed the state of the bug to: Rejected. -- Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi

Re: [Gambas-user] [Gambas Bug Tracker] Bug #1068: CDate: strange behavior on first day of year

2017-01-15 Thread Gianluigi
OK if in Trunk I write: Public Sub Main() Print CDate(Val("1/1/2017")) ' > 01/01/2017 00:00:00 End Sorry but I do not know, because the rev.7983 is earlier the 3.9.2. Regards Gianluigi 2017-01-15 16:41 GMT+01:00 Jussi Lahtinen : > Sorry, the date bug was fixed

Re: [Gambas-user] Beware to revision #7983!

2017-01-15 Thread Jussi Lahtinen
Benoit is it possible add this timezone conversion suggestion to CDate()? Date = CDate ( Expression AS Variant [, InputTimeZone AS Integer, OutputTimeZone AS Integer ] ) AS Date This way you could tell CDate what is the timezone you are using and in what timezone you need the answer. I think it

Re: [Gambas-user] [Gambas Bug Tracker] Bug #1068: CDate: strange behavior on first day of year

2017-01-15 Thread Jussi Lahtinen
Sorry, the date bug was fixed in revision 7983. So 3.9.2 still has the bug. If your string is in local time, then convert it to date using val(). CDate() assumes UTF and your timezone is UTF+1, thus you see the difference. Jussi On Sun, Jan 15, 2017 at 4:41 PM, Gianluigi

Re: [Gambas-user] [Gambas Bug Tracker] Bug #1068: CDate: strange behavior on first day of year

2017-01-15 Thread Gianluigi
I forgotten: Yes with exactli same program: Public Sub Main() Print CDate("1/1/2017") End 2017-01-15 14:52 GMT+01:00 Gianluigi : > No Jussi seems all the same. > > My computer: > > LANG=it_IT.UTF-8 > LANGUAGE=it > LC_CTYPE="it_IT.UTF-8" > LC_NUMERIC="it_IT.UTF-8" >

[Gambas-user] [Gambas Bug Tracker] Bug #1069: Error by clicking on minus sign at the left of a routine

2017-01-15 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1069=L21haW4- vuott VUOTT reported a new bug. Summary --- Error by clicking on minus sign at the left of a routine Type : Bug Priority : Medium Gambas version : 3.9.90 (TRUNK) Product : Unknown Description

Re: [Gambas-user] [Gambas Bug Tracker] Bug #1068: CDate: strange behavior on first day of year

2017-01-15 Thread Gianluigi
No Jussi seems all the same. My computer: LANG=it_IT.UTF-8 LANGUAGE=it LC_CTYPE="it_IT.UTF-8" LC_NUMERIC="it_IT.UTF-8" LC_TIME="it_IT.UTF-8" LC_COLLATE="it_IT.UTF-8" LC_MONETARY="it_IT.UTF-8" LC_MESSAGES="it_IT.UTF-8" LC_PAPER="it_IT.UTF-8" LC_NAME="it_IT.UTF-8" LC_ADDRESS="it_IT.UTF-8"