Re: [Gambas-user] Time, date & Settings

2017-03-27 Thread Jussi Lahtinen
OK, forgot to update Gambas on my virtual machine... But now there is another problem. I'm in UTC+3, and when I write the time (example 12:00) with CStr(), it will be 15:00 in the settings file. Now if I go to UTC-0, I will get the alarm when my computer clock shows 15:00. I want it always assume

Re: [Gambas-user] Time, date & Settings

2017-03-27 Thread Benoît Minisini
Le 27/03/2017 à 17:02, Jussi Lahtinen a écrit : >> Using the development version, you have to store your date in the >> settings file using CStr(), and read it using CDate(). >> > > That does not work if the settings file is written in English and opened in > Finnish. CDate() just fails silently (r

Re: [Gambas-user] Time, date & Settings

2017-03-27 Thread Jussi Lahtinen
> Using the development version, you have to store your date in the > settings file using CStr(), and read it using CDate(). > That does not work if the settings file is written in English and opened in Finnish. CDate() just fails silently (returns null). Jussi --

Re: [Gambas-user] Time, date & Settings

2017-03-27 Thread Benoît Minisini
Le 27/03/2017 à 07:27, PICCORO McKAY Lenz a écrit : > similar behavior occurs me when i swicht languajes and manipulates amounts > in my POS system, in english vs spanish decimals alternate with "," and "." > and theres no way to use an universa only form.. > > u must stored separated.. > > Lenz Mc

Re: [Gambas-user] Time, date & Settings

2017-03-26 Thread PICCORO McKAY Lenz
similar behavior occurs me when i swicht languajes and manipulates amounts in my POS system, in english vs spanish decimals alternate with "," and "." and theres no way to use an universa only form.. u must stored separated.. Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com 2017-03-

[Gambas-user] Time, date & Settings

2017-03-26 Thread Jussi Lahtinen
Hi! I'm trying to figure way to handle time & date correctly, ignoring timezone and "daylight saving" adjustments. I can't get things work nicely with settings component as it does not save&load the value in universal format. Example if you write settings in English and open them in Finnish, you wi