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

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

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

bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1068&from=L21haW4-

Gianluigi GRADASCHI reported a new bug.

Summary
-------

CDate: strange behavior on  first day of year

Type             : Bug
Priority         : Medium
Gambas version   : 3.9.90 (TRUNK)
Product          : Unknown


Description
-----------

I know that CDate is changed with rev. 9383, but this is not normal.

'_____________________________________

Public Sub Main()

  Print CDate("1/1/2017") ' > 31/12/2016 23:00:00
 

End

'_____________________________________

Regards

Gianluigi


System information
------------------

[System]
Gambas=3.9.90 r8051
OperatingSystem=Linux
Kernel=4.4.0-59-generic
Architecture=x86_64
Distribution=Ubuntu 16.04.1 LTS
Desktop=UNITY
Theme=Cleanlooks
Language=it_IT.UTF-8
Memory=15975M

[Libraries]
Cairo=libcairo.so.2.11400.6
Curl=libcurl.so.4.4.0
DBus=libdbus-1.so.3.14.6
GStreamer=libgstreamer-1.0.so.0.802.0
GTK+2=libgtk-x11-2.0.so.0.2400.30
GTK+3=libgtk-3.so.0.1800.9
OpenGL=libGL.so.1.0.0
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.58.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.5.1
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
CLUTTER_IM_MODULE=xim
COMPIZ_BIN_PATH=/usr/bin/
COMPIZ_CONFIG_PROFILE=ubuntu
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-FeIY7qF3RN
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
DESKTOP_SESSION=ubuntu
DISPLAY=:0
GB_GUI=gb.qt4
GDMSESSION=ubuntu
GDM_LANG=it
GIO_LAUNCHED_DESKTOP_FILE=/home/<hostname>/.local/share/applications/gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=13082
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_KEYRING_CONTROL=
GNOME_KEYRING_PID=
GPG_AGENT_INFO=/home/<hostname>/.gnupg/S.gpg-agent:0:1
GTK2_MODULES=overlay-scrollbar
GTK_IM_MODULE=ibus
GTK_MODULES=gail:atk-bridge:unity-gtk-module
HOME=/home/<hostname>
IM_CONFIG_PHASE=1
INSTANCE=
JOB=unity-settings-daemon
LANG=it_IT.UTF-8
LANGUAGE=it
LOGNAME=<hostname>
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
PATH=/home/<hostname>/bin:/home/<hostname>/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=/home/<hostname>
QT4_IM_MODULE=xim
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
QT_QPA_PLATFORMTHEME=appmenu-qt5
SESSION=ubuntu
SESSIONTYPE=gnome-session
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1508,unix/<hostname>:/tmp/.ICE-unix/1508
SHELL=/bin/bash
SHLVL=0
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
UPSTART_EVENTS=xsession started
UPSTART_INSTANCE=
UPSTART_JOB=unity7
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1290
USER=<hostname>
XAUTHORITY=/home/<hostname>/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/usr/share/upstart/xdg:/etc/xdg
XDG_CURRENT_DESKTOP=Unity
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<hostname>
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_ID=c1
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
XMODIFIERS=@im=ibus



------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|

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

bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1068&from=L21haW4-

Gianluigi GRADASCHI added an attachment:

CDateTest-0.0.1.tar.gz



------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|

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

Jussi Lahtinen
In reply to this post by bugtracker
It's because of timezone conversion. Not a bug.


Jussi

On Sat, Jan 14, 2017 at 8:42 PM, <[hidden email]> wrote:

> http://gambaswiki.org/bugtracker/edit?object=BUG.1068&from=L21haW4-
>
> Gianluigi GRADASCHI added an attachment:
>
> CDateTest-0.0.1.tar.gz
>
>
>
> ------------------------------------------------------------
> ------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> Gambas-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|

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

Gianluigi
But in another computer with 3.9.2 the result is 01/01/2017 00:00:00

2017-01-14 20:13 GMT+01:00 Jussi Lahtinen <[hidden email]>:

> It's because of timezone conversion. Not a bug.
>
>
> Jussi
>
> On Sat, Jan 14, 2017 at 8:42 PM, <[hidden email]> wrote:
>
> > http://gambaswiki.org/bugtracker/edit?object=BUG.1068&from=L21haW4-
> >
> > Gianluigi GRADASCHI added an attachment:
> >
> > CDateTest-0.0.1.tar.gz
> >
> >
> >
> > ------------------------------------------------------------
> > ------------------
> > Developer Access Program for Intel Xeon Phi Processors
> > Access to Intel Xeon Phi processor-based developer platforms.
> > With one year of Intel Parallel Studio XE.
> > Training and support from Colfax.
> > Order your platform today. http://sdm.link/xeonphi
> > _______________________________________________
> > Gambas-user mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> ------------------------------------------------------------
> ------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> Gambas-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|

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

Jussi Lahtinen
With the exactly same program? Then maybe the computers have different
localization settings. Try command "locale" on terminal to see if there are
differences.


Jussi

On Sat, Jan 14, 2017 at 9:28 PM, Gianluigi <[hidden email]> wrote:

> But in another computer with 3.9.2 the result is 01/01/2017 00:00:00
>
> 2017-01-14 20:13 GMT+01:00 Jussi Lahtinen <[hidden email]>:
>
> > It's because of timezone conversion. Not a bug.
> >
> >
> > Jussi
> >
> > On Sat, Jan 14, 2017 at 8:42 PM, <[hidden email]> wrote:
> >
> > > http://gambaswiki.org/bugtracker/edit?object=BUG.1068&from=L21haW4-
> > >
> > > Gianluigi GRADASCHI added an attachment:
> > >
> > > CDateTest-0.0.1.tar.gz
> > >
> > >
> > >
> > > ------------------------------------------------------------
> > > ------------------
> > > Developer Access Program for Intel Xeon Phi Processors
> > > Access to Intel Xeon Phi processor-based developer platforms.
> > > With one year of Intel Parallel Studio XE.
> > > Training and support from Colfax.
> > > Order your platform today. http://sdm.link/xeonphi
> > > _______________________________________________
> > > Gambas-user mailing list
> > > [hidden email]
> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >
> > ------------------------------------------------------------
> > ------------------
> > Developer Access Program for Intel Xeon Phi Processors
> > Access to Intel Xeon Phi processor-based developer platforms.
> > With one year of Intel Parallel Studio XE.
> > Training and support from Colfax.
> > Order your platform today. http://sdm.link/xeonphi
> > _______________________________________________
> > Gambas-user mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> ------------------------------------------------------------
> ------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> Gambas-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|

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

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"
LC_TELEPHONE="it_IT.UTF-8"
LC_MEASUREMENT="it_IT.UTF-8"
LC_IDENTIFICATION="it_IT.UTF-8"
LC_ALL=


Wife 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"
LC_TELEPHONE="it_IT.UTF-8"
LC_MEASUREMENT="it_IT.UTF-8"
LC_IDENTIFICATION="it_IT.UTF-8"
LC_ALL=

[System]
Gambas=3.9.2
OperatingSystem=Linux
Kernel=4.4.0-59-generic
Architecture=x86
Distribution=Ubuntu 16.04.1 LTS
Desktop=XFCE
Theme=Cleanlooks
Language=it_IT.UTF-8
Memory=3018M

[Libraries]
Cairo=libcairo.so.2.11400.6
Curl=libcurl.so.4.4.0
DBus=libdbus-1.so.3.14.6
GStreamer=libgstreamer-1.0.so.0.802.0
GTK+2=libgtk-x11-2.0.so.0.2400.30
GTK+3=libgtk-3.so.0.1800.9
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.58.0.0
QT4=libQtCore.so.4.8.7
QT5=libQt5Core.so.5.5.1
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
CLUTTER_BACKEND=x11
CLUTTER_IM_MODULE=
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-dw2oWgNV16
DEFAULTS_PATH=/usr/share/gconf/xubuntu.default.path
DESKTOP_SESSION=xubuntu
DISPLAY=:0.0
GB_GUI=gb.qt4
GDMSESSION=xubuntu
GDM_LANG=it
GLADE_CATALOG_PATH=:
GLADE_MODULE_PATH=:
GLADE_PIXMAP_PATH=:
GNOME_KEYRING_CONTROL=
GNOME_KEYRING_PID=
GPG_AGENT_INFO=/home/<hostname>/.gnupg/S.gpg-agent:0:1
GTK_IM_MODULE=
GTK_OVERLAY_SCROLLING=0
HOME=/home/<hostname>
IM_CONFIG_PHASE=1
INSTANCE=
JOB=dbus
LANG=it_IT.UTF-8
LANGUAGE=it
LOGNAME=<hostname>
MANDATORY_PATH=/usr/share/gconf/xubuntu.mandatory.path
PATH=/home/<hostname>/bin:/home/<hostname>/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=/home/<hostname>
QT4_IM_MODULE=
QT_ACCESSIBILITY=1
QT_IM_MODULE=
QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
QT_STYLE_OVERRIDE=gtk
SESSION=xubuntu
SESSIONTYPE=
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1203,unix/<hostname>:/tmp/.ICE-unix/1203
SHELL=/bin/bash
SHLVL=0
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
UPSTART_EVENTS=started xsession
UPSTART_INSTANCE=
UPSTART_JOB=startxfce4
UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1042
USER=<hostname>
XAUTHORITY=/home/<hostname>/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/usr/share/upstart/xdg:/etc/xdg:/etc/xdg
XDG_CURRENT_DESKTOP=XFCE
XDG_DATA_DIRS=/usr/share/xubuntu:/usr/share/xfce4:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop:/usr/share
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<hostname>
XDG_MENU_PREFIX=xfce-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_DESKTOP=xubuntu
XDG_SESSION_ID=c1
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
XMODIFIERS=



Regards

Gianluigi


2017-01-15 0:24 GMT+01:00 Jussi Lahtinen <[hidden email]>:

> With the exactly same program? Then maybe the computers have different
> localization settings. Try command "locale" on terminal to see if there are
> differences.
>
>
> Jussi
>
> On Sat, Jan 14, 2017 at 9:28 PM, Gianluigi <[hidden email]> wrote:
>
> > But in another computer with 3.9.2 the result is 01/01/2017 00:00:00
> >
> > 2017-01-14 20:13 GMT+01:00 Jussi Lahtinen <[hidden email]>:
> >
> > > It's because of timezone conversion. Not a bug.
> > >
> > >
> > > Jussi
> > >
> > > On Sat, Jan 14, 2017 at 8:42 PM, <[hidden email]> wrote:
> > >
> > > > http://gambaswiki.org/bugtracker/edit?object=BUG.1068&from=L21haW4-
> > > >
> > > > Gianluigi GRADASCHI added an attachment:
> > > >
> > > > CDateTest-0.0.1.tar.gz
> > > >
> > > >
> > > >
> > > > ------------------------------------------------------------
> > > > ------------------
> > > > Developer Access Program for Intel Xeon Phi Processors
> > > > Access to Intel Xeon Phi processor-based developer platforms.
> > > > With one year of Intel Parallel Studio XE.
> > > > Training and support from Colfax.
> > > > Order your platform today. http://sdm.link/xeonphi
> > > > _______________________________________________
> > > > Gambas-user mailing list
> > > > [hidden email]
> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > > >
> > > ------------------------------------------------------------
> > > ------------------
> > > Developer Access Program for Intel Xeon Phi Processors
> > > Access to Intel Xeon Phi processor-based developer platforms.
> > > With one year of Intel Parallel Studio XE.
> > > Training and support from Colfax.
> > > Order your platform today. http://sdm.link/xeonphi
> > > _______________________________________________
> > > Gambas-user mailing list
> > > [hidden email]
> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >
> > ------------------------------------------------------------
> > ------------------
> > Developer Access Program for Intel Xeon Phi Processors
> > Access to Intel Xeon Phi processor-based developer platforms.
> > With one year of Intel Parallel Studio XE.
> > Training and support from Colfax.
> > Order your platform today. http://sdm.link/xeonphi
> > _______________________________________________
> > Gambas-user mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> ------------------------------------------------------------
> ------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> Gambas-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|

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

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 <[hidden email]>:

> 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"
> LC_TELEPHONE="it_IT.UTF-8"
> LC_MEASUREMENT="it_IT.UTF-8"
> LC_IDENTIFICATION="it_IT.UTF-8"
> LC_ALL=
>
>
> Wife 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"
> LC_TELEPHONE="it_IT.UTF-8"
> LC_MEASUREMENT="it_IT.UTF-8"
> LC_IDENTIFICATION="it_IT.UTF-8"
> LC_ALL=
>
> [System]
> Gambas=3.9.2
> OperatingSystem=Linux
> Kernel=4.4.0-59-generic
> Architecture=x86
> Distribution=Ubuntu 16.04.1 LTS
> Desktop=XFCE
> Theme=Cleanlooks
> Language=it_IT.UTF-8
> Memory=3018M
>
> [Libraries]
> Cairo=libcairo.so.2.11400.6
> Curl=libcurl.so.4.4.0
> DBus=libdbus-1.so.3.14.6
> GStreamer=libgstreamer-1.0.so.0.802.0
> GTK+2=libgtk-x11-2.0.so.0.2400.30
> GTK+3=libgtk-3.so.0.1800.9
> OpenGL=libGL.so.1.2.0
> Poppler=libpoppler.so.58.0.0
> QT4=libQtCore.so.4.8.7
> QT5=libQt5Core.so.5.5.1
> SDL=libSDL-1.2.so.0.11.4
> SQLite=libsqlite3.so.0.8.6
>
> [Environment]
> CLUTTER_BACKEND=x11
> CLUTTER_IM_MODULE=
> DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-dw2oWgNV16
> DEFAULTS_PATH=/usr/share/gconf/xubuntu.default.path
> DESKTOP_SESSION=xubuntu
> DISPLAY=:0.0
> GB_GUI=gb.qt4
> GDMSESSION=xubuntu
> GDM_LANG=it
> GLADE_CATALOG_PATH=:
> GLADE_MODULE_PATH=:
> GLADE_PIXMAP_PATH=:
> GNOME_KEYRING_CONTROL=
> GNOME_KEYRING_PID=
> GPG_AGENT_INFO=/home/<hostname>/.gnupg/S.gpg-agent:0:1
> GTK_IM_MODULE=
> GTK_OVERLAY_SCROLLING=0
> HOME=/home/<hostname>
> IM_CONFIG_PHASE=1
> INSTANCE=
> JOB=dbus
> LANG=it_IT.UTF-8
> LANGUAGE=it
> LOGNAME=<hostname>
> MANDATORY_PATH=/usr/share/gconf/xubuntu.mandatory.path
> PATH=/home/<hostname>/bin:/home/<hostname>/.local/bin:/
> usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:
> /usr/games:/usr/local/games:/snap/bin
> PWD=/home/<hostname>
> QT4_IM_MODULE=
> QT_ACCESSIBILITY=1
> QT_IM_MODULE=
> QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
> QT_STYLE_OVERRIDE=gtk
> SESSION=xubuntu
> SESSIONTYPE=
> SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/
> 1203,unix/<hostname>:/tmp/.ICE-unix/1203
> SHELL=/bin/bash
> SHLVL=0
> SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
> TZ=:/etc/localtime
> UPSTART_EVENTS=started xsession
> UPSTART_INSTANCE=
> UPSTART_JOB=startxfce4
> UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1042
> USER=<hostname>
> XAUTHORITY=/home/<hostname>/.Xauthority
> XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/usr/share/upstart/
> xdg:/etc/xdg:/etc/xdg
> XDG_CURRENT_DESKTOP=XFCE
> XDG_DATA_DIRS=/usr/share/xubuntu:/usr/share/xfce4:/usr/
> local/share/:/usr/share/:/var/lib/snapd/desktop:/usr/share
> XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<hostname>
> XDG_MENU_PREFIX=xfce-
> XDG_RUNTIME_DIR=/run/user/1000
> XDG_SEAT=seat0
> XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
> XDG_SESSION_DESKTOP=xubuntu
> XDG_SESSION_ID=c1
> XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
> XDG_SESSION_TYPE=x11
> XDG_VTNR=7
> XMODIFIERS=
>
>
>
> Regards
>
> Gianluigi
>
>
> 2017-01-15 0:24 GMT+01:00 Jussi Lahtinen <[hidden email]>:
>
>> With the exactly same program? Then maybe the computers have different
>> localization settings. Try command "locale" on terminal to see if there
>> are
>> differences.
>>
>>
>> Jussi
>>
>> On Sat, Jan 14, 2017 at 9:28 PM, Gianluigi <[hidden email]> wrote:
>>
>> > But in another computer with 3.9.2 the result is 01/01/2017 00:00:00
>> >
>> > 2017-01-14 20:13 GMT+01:00 Jussi Lahtinen <[hidden email]>:
>> >
>> > > It's because of timezone conversion. Not a bug.
>> > >
>> > >
>> > > Jussi
>> > >
>> > > On Sat, Jan 14, 2017 at 8:42 PM, <[hidden email]> wrote:
>> > >
>> > > > http://gambaswiki.org/bugtracker/edit?object=BUG.1068&from=L21haW4-
>> > > >
>> > > > Gianluigi GRADASCHI added an attachment:
>> > > >
>> > > > CDateTest-0.0.1.tar.gz
>> > > >
>> > > >
>> > > >
>> > > > ------------------------------------------------------------
>> > > > ------------------
>> > > > Developer Access Program for Intel Xeon Phi Processors
>> > > > Access to Intel Xeon Phi processor-based developer platforms.
>> > > > With one year of Intel Parallel Studio XE.
>> > > > Training and support from Colfax.
>> > > > Order your platform today. http://sdm.link/xeonphi
>> > > > _______________________________________________
>> > > > Gambas-user mailing list
>> > > > [hidden email]
>> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user
>> > > >
>> > > ------------------------------------------------------------
>> > > ------------------
>> > > Developer Access Program for Intel Xeon Phi Processors
>> > > Access to Intel Xeon Phi processor-based developer platforms.
>> > > With one year of Intel Parallel Studio XE.
>> > > Training and support from Colfax.
>> > > Order your platform today. http://sdm.link/xeonphi
>> > > _______________________________________________
>> > > Gambas-user mailing list
>> > > [hidden email]
>> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
>> > >
>> > ------------------------------------------------------------
>> > ------------------
>> > Developer Access Program for Intel Xeon Phi Processors
>> > Access to Intel Xeon Phi processor-based developer platforms.
>> > With one year of Intel Parallel Studio XE.
>> > Training and support from Colfax.
>> > Order your platform today. http://sdm.link/xeonphi
>> > _______________________________________________
>> > Gambas-user mailing list
>> > [hidden email]
>> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>> >
>> ------------------------------------------------------------
>> ------------------
>> Developer Access Program for Intel Xeon Phi Processors
>> Access to Intel Xeon Phi processor-based developer platforms.
>> With one year of Intel Parallel Studio XE.
>> Training and support from Colfax.
>> Order your platform today. http://sdm.link/xeonphi
>> _______________________________________________
>> Gambas-user mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
>
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|

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

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 <[hidden email]> wrote:

> 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 <[hidden email]>:
>
> > 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"
> > LC_TELEPHONE="it_IT.UTF-8"
> > LC_MEASUREMENT="it_IT.UTF-8"
> > LC_IDENTIFICATION="it_IT.UTF-8"
> > LC_ALL=
> >
> >
> > Wife 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"
> > LC_TELEPHONE="it_IT.UTF-8"
> > LC_MEASUREMENT="it_IT.UTF-8"
> > LC_IDENTIFICATION="it_IT.UTF-8"
> > LC_ALL=
> >
> > [System]
> > Gambas=3.9.2
> > OperatingSystem=Linux
> > Kernel=4.4.0-59-generic
> > Architecture=x86
> > Distribution=Ubuntu 16.04.1 LTS
> > Desktop=XFCE
> > Theme=Cleanlooks
> > Language=it_IT.UTF-8
> > Memory=3018M
> >
> > [Libraries]
> > Cairo=libcairo.so.2.11400.6
> > Curl=libcurl.so.4.4.0
> > DBus=libdbus-1.so.3.14.6
> > GStreamer=libgstreamer-1.0.so.0.802.0
> > GTK+2=libgtk-x11-2.0.so.0.2400.30
> > GTK+3=libgtk-3.so.0.1800.9
> > OpenGL=libGL.so.1.2.0
> > Poppler=libpoppler.so.58.0.0
> > QT4=libQtCore.so.4.8.7
> > QT5=libQt5Core.so.5.5.1
> > SDL=libSDL-1.2.so.0.11.4
> > SQLite=libsqlite3.so.0.8.6
> >
> > [Environment]
> > CLUTTER_BACKEND=x11
> > CLUTTER_IM_MODULE=
> > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-dw2oWgNV16
> > DEFAULTS_PATH=/usr/share/gconf/xubuntu.default.path
> > DESKTOP_SESSION=xubuntu
> > DISPLAY=:0.0
> > GB_GUI=gb.qt4
> > GDMSESSION=xubuntu
> > GDM_LANG=it
> > GLADE_CATALOG_PATH=:
> > GLADE_MODULE_PATH=:
> > GLADE_PIXMAP_PATH=:
> > GNOME_KEYRING_CONTROL=
> > GNOME_KEYRING_PID=
> > GPG_AGENT_INFO=/home/<hostname>/.gnupg/S.gpg-agent:0:1
> > GTK_IM_MODULE=
> > GTK_OVERLAY_SCROLLING=0
> > HOME=/home/<hostname>
> > IM_CONFIG_PHASE=1
> > INSTANCE=
> > JOB=dbus
> > LANG=it_IT.UTF-8
> > LANGUAGE=it
> > LOGNAME=<hostname>
> > MANDATORY_PATH=/usr/share/gconf/xubuntu.mandatory.path
> > PATH=/home/<hostname>/bin:/home/<hostname>/.local/bin:/
> > usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:
> > /usr/games:/usr/local/games:/snap/bin
> > PWD=/home/<hostname>
> > QT4_IM_MODULE=
> > QT_ACCESSIBILITY=1
> > QT_IM_MODULE=
> > QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
> > QT_STYLE_OVERRIDE=gtk
> > SESSION=xubuntu
> > SESSIONTYPE=
> > SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/
> > 1203,unix/<hostname>:/tmp/.ICE-unix/1203
> > SHELL=/bin/bash
> > SHLVL=0
> > SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
> > TZ=:/etc/localtime
> > UPSTART_EVENTS=started xsession
> > UPSTART_INSTANCE=
> > UPSTART_JOB=startxfce4
> > UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1042
> > USER=<hostname>
> > XAUTHORITY=/home/<hostname>/.Xauthority
> > XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/usr/share/upstart/
> > xdg:/etc/xdg:/etc/xdg
> > XDG_CURRENT_DESKTOP=XFCE
> > XDG_DATA_DIRS=/usr/share/xubuntu:/usr/share/xfce4:/usr/
> > local/share/:/usr/share/:/var/lib/snapd/desktop:/usr/share
> > XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<hostname>
> > XDG_MENU_PREFIX=xfce-
> > XDG_RUNTIME_DIR=/run/user/1000
> > XDG_SEAT=seat0
> > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
> > XDG_SESSION_DESKTOP=xubuntu
> > XDG_SESSION_ID=c1
> > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
> > XDG_SESSION_TYPE=x11
> > XDG_VTNR=7
> > XMODIFIERS=
> >
> >
> >
> > Regards
> >
> > Gianluigi
> >
> >
> > 2017-01-15 0:24 GMT+01:00 Jussi Lahtinen <[hidden email]>:
> >
> >> With the exactly same program? Then maybe the computers have different
> >> localization settings. Try command "locale" on terminal to see if there
> >> are
> >> differences.
> >>
> >>
> >> Jussi
> >>
> >> On Sat, Jan 14, 2017 at 9:28 PM, Gianluigi <[hidden email]> wrote:
> >>
> >> > But in another computer with 3.9.2 the result is 01/01/2017 00:00:00
> >> >
> >> > 2017-01-14 20:13 GMT+01:00 Jussi Lahtinen <[hidden email]>:
> >> >
> >> > > It's because of timezone conversion. Not a bug.
> >> > >
> >> > >
> >> > > Jussi
> >> > >
> >> > > On Sat, Jan 14, 2017 at 8:42 PM, <[hidden email]> wrote:
> >> > >
> >> > > > http://gambaswiki.org/bugtracker/edit?object=BUG.
> 1068&from=L21haW4-
> >> > > >
> >> > > > Gianluigi GRADASCHI added an attachment:
> >> > > >
> >> > > > CDateTest-0.0.1.tar.gz
> >> > > >
> >> > > >
> >> > > >
> >> > > > ------------------------------------------------------------
> >> > > > ------------------
> >> > > > Developer Access Program for Intel Xeon Phi Processors
> >> > > > Access to Intel Xeon Phi processor-based developer platforms.
> >> > > > With one year of Intel Parallel Studio XE.
> >> > > > Training and support from Colfax.
> >> > > > Order your platform today. http://sdm.link/xeonphi
> >> > > > _______________________________________________
> >> > > > Gambas-user mailing list
> >> > > > [hidden email]
> >> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >> > > >
> >> > > ------------------------------------------------------------
> >> > > ------------------
> >> > > Developer Access Program for Intel Xeon Phi Processors
> >> > > Access to Intel Xeon Phi processor-based developer platforms.
> >> > > With one year of Intel Parallel Studio XE.
> >> > > Training and support from Colfax.
> >> > > Order your platform today. http://sdm.link/xeonphi
> >> > > _______________________________________________
> >> > > Gambas-user mailing list
> >> > > [hidden email]
> >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >> > >
> >> > ------------------------------------------------------------
> >> > ------------------
> >> > Developer Access Program for Intel Xeon Phi Processors
> >> > Access to Intel Xeon Phi processor-based developer platforms.
> >> > With one year of Intel Parallel Studio XE.
> >> > Training and support from Colfax.
> >> > Order your platform today. http://sdm.link/xeonphi
> >> > _______________________________________________
> >> > Gambas-user mailing list
> >> > [hidden email]
> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >> >
> >> ------------------------------------------------------------
> >> ------------------
> >> Developer Access Program for Intel Xeon Phi Processors
> >> Access to Intel Xeon Phi processor-based developer platforms.
> >> With one year of Intel Parallel Studio XE.
> >> Training and support from Colfax.
> >> Order your platform today. http://sdm.link/xeonphi
> >> _______________________________________________
> >> Gambas-user mailing list
> >> [hidden email]
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >
> >
> ------------------------------------------------------------
> ------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> Gambas-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|

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

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 <[hidden email]>:

> 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 <[hidden email]> wrote:
>
> > 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 <[hidden email]>:
> >
> > > 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"
> > > LC_TELEPHONE="it_IT.UTF-8"
> > > LC_MEASUREMENT="it_IT.UTF-8"
> > > LC_IDENTIFICATION="it_IT.UTF-8"
> > > LC_ALL=
> > >
> > >
> > > Wife 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"
> > > LC_TELEPHONE="it_IT.UTF-8"
> > > LC_MEASUREMENT="it_IT.UTF-8"
> > > LC_IDENTIFICATION="it_IT.UTF-8"
> > > LC_ALL=
> > >
> > > [System]
> > > Gambas=3.9.2
> > > OperatingSystem=Linux
> > > Kernel=4.4.0-59-generic
> > > Architecture=x86
> > > Distribution=Ubuntu 16.04.1 LTS
> > > Desktop=XFCE
> > > Theme=Cleanlooks
> > > Language=it_IT.UTF-8
> > > Memory=3018M
> > >
> > > [Libraries]
> > > Cairo=libcairo.so.2.11400.6
> > > Curl=libcurl.so.4.4.0
> > > DBus=libdbus-1.so.3.14.6
> > > GStreamer=libgstreamer-1.0.so.0.802.0
> > > GTK+2=libgtk-x11-2.0.so.0.2400.30
> > > GTK+3=libgtk-3.so.0.1800.9
> > > OpenGL=libGL.so.1.2.0
> > > Poppler=libpoppler.so.58.0.0
> > > QT4=libQtCore.so.4.8.7
> > > QT5=libQt5Core.so.5.5.1
> > > SDL=libSDL-1.2.so.0.11.4
> > > SQLite=libsqlite3.so.0.8.6
> > >
> > > [Environment]
> > > CLUTTER_BACKEND=x11
> > > CLUTTER_IM_MODULE=
> > > DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-dw2oWgNV16
> > > DEFAULTS_PATH=/usr/share/gconf/xubuntu.default.path
> > > DESKTOP_SESSION=xubuntu
> > > DISPLAY=:0.0
> > > GB_GUI=gb.qt4
> > > GDMSESSION=xubuntu
> > > GDM_LANG=it
> > > GLADE_CATALOG_PATH=:
> > > GLADE_MODULE_PATH=:
> > > GLADE_PIXMAP_PATH=:
> > > GNOME_KEYRING_CONTROL=
> > > GNOME_KEYRING_PID=
> > > GPG_AGENT_INFO=/home/<hostname>/.gnupg/S.gpg-agent:0:1
> > > GTK_IM_MODULE=
> > > GTK_OVERLAY_SCROLLING=0
> > > HOME=/home/<hostname>
> > > IM_CONFIG_PHASE=1
> > > INSTANCE=
> > > JOB=dbus
> > > LANG=it_IT.UTF-8
> > > LANGUAGE=it
> > > LOGNAME=<hostname>
> > > MANDATORY_PATH=/usr/share/gconf/xubuntu.mandatory.path
> > > PATH=/home/<hostname>/bin:/home/<hostname>/.local/bin:/
> > > usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:
> > > /usr/games:/usr/local/games:/snap/bin
> > > PWD=/home/<hostname>
> > > QT4_IM_MODULE=
> > > QT_ACCESSIBILITY=1
> > > QT_IM_MODULE=
> > > QT_LINUX_ACCESSIBILITY_ALWAYS_ON=1
> > > QT_STYLE_OVERRIDE=gtk
> > > SESSION=xubuntu
> > > SESSIONTYPE=
> > > SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/
> > > 1203,unix/<hostname>:/tmp/.ICE-unix/1203
> > > SHELL=/bin/bash
> > > SHLVL=0
> > > SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
> > > TZ=:/etc/localtime
> > > UPSTART_EVENTS=started xsession
> > > UPSTART_INSTANCE=
> > > UPSTART_JOB=startxfce4
> > > UPSTART_SESSION=unix:abstract=/com/ubuntu/upstart-session/1000/1042
> > > USER=<hostname>
> > > XAUTHORITY=/home/<hostname>/.Xauthority
> > > XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/usr/share/upstart/
> > > xdg:/etc/xdg:/etc/xdg
> > > XDG_CURRENT_DESKTOP=XFCE
> > > XDG_DATA_DIRS=/usr/share/xubuntu:/usr/share/xfce4:/usr/
> > > local/share/:/usr/share/:/var/lib/snapd/desktop:/usr/share
> > > XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<hostname>
> > > XDG_MENU_PREFIX=xfce-
> > > XDG_RUNTIME_DIR=/run/user/1000
> > > XDG_SEAT=seat0
> > > XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
> > > XDG_SESSION_DESKTOP=xubuntu
> > > XDG_SESSION_ID=c1
> > > XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
> > > XDG_SESSION_TYPE=x11
> > > XDG_VTNR=7
> > > XMODIFIERS=
> > >
> > >
> > >
> > > Regards
> > >
> > > Gianluigi
> > >
> > >
> > > 2017-01-15 0:24 GMT+01:00 Jussi Lahtinen <[hidden email]>:
> > >
> > >> With the exactly same program? Then maybe the computers have different
> > >> localization settings. Try command "locale" on terminal to see if
> there
> > >> are
> > >> differences.
> > >>
> > >>
> > >> Jussi
> > >>
> > >> On Sat, Jan 14, 2017 at 9:28 PM, Gianluigi <[hidden email]>
> wrote:
> > >>
> > >> > But in another computer with 3.9.2 the result is 01/01/2017 00:00:00
> > >> >
> > >> > 2017-01-14 20:13 GMT+01:00 Jussi Lahtinen <[hidden email]
> >:
> > >> >
> > >> > > It's because of timezone conversion. Not a bug.
> > >> > >
> > >> > >
> > >> > > Jussi
> > >> > >
> > >> > > On Sat, Jan 14, 2017 at 8:42 PM, <[hidden email]>
> wrote:
> > >> > >
> > >> > > > http://gambaswiki.org/bugtracker/edit?object=BUG.
> > 1068&from=L21haW4-
> > >> > > >
> > >> > > > Gianluigi GRADASCHI added an attachment:
> > >> > > >
> > >> > > > CDateTest-0.0.1.tar.gz
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > ------------------------------------------------------------
> > >> > > > ------------------
> > >> > > > Developer Access Program for Intel Xeon Phi Processors
> > >> > > > Access to Intel Xeon Phi processor-based developer platforms.
> > >> > > > With one year of Intel Parallel Studio XE.
> > >> > > > Training and support from Colfax.
> > >> > > > Order your platform today. http://sdm.link/xeonphi
> > >> > > > _______________________________________________
> > >> > > > Gambas-user mailing list
> > >> > > > [hidden email]
> > >> > > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >> > > >
> > >> > > ------------------------------------------------------------
> > >> > > ------------------
> > >> > > Developer Access Program for Intel Xeon Phi Processors
> > >> > > Access to Intel Xeon Phi processor-based developer platforms.
> > >> > > With one year of Intel Parallel Studio XE.
> > >> > > Training and support from Colfax.
> > >> > > Order your platform today. http://sdm.link/xeonphi
> > >> > > _______________________________________________
> > >> > > Gambas-user mailing list
> > >> > > [hidden email]
> > >> > > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >> > >
> > >> > ------------------------------------------------------------
> > >> > ------------------
> > >> > Developer Access Program for Intel Xeon Phi Processors
> > >> > Access to Intel Xeon Phi processor-based developer platforms.
> > >> > With one year of Intel Parallel Studio XE.
> > >> > Training and support from Colfax.
> > >> > Order your platform today. http://sdm.link/xeonphi
> > >> > _______________________________________________
> > >> > Gambas-user mailing list
> > >> > [hidden email]
> > >> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >> >
> > >> ------------------------------------------------------------
> > >> ------------------
> > >> Developer Access Program for Intel Xeon Phi Processors
> > >> Access to Intel Xeon Phi processor-based developer platforms.
> > >> With one year of Intel Parallel Studio XE.
> > >> Training and support from Colfax.
> > >> Order your platform today. http://sdm.link/xeonphi
> > >> _______________________________________________
> > >> Gambas-user mailing list
> > >> [hidden email]
> > >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> > >>
> > >
> > >
> > ------------------------------------------------------------
> > ------------------
> > Developer Access Program for Intel Xeon Phi Processors
> > Access to Intel Xeon Phi processor-based developer platforms.
> > With one year of Intel Parallel Studio XE.
> > Training and support from Colfax.
> > Order your platform today. http://sdm.link/xeonphi
> > _______________________________________________
> > Gambas-user mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> ------------------------------------------------------------
> ------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> Gambas-user mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|

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

bugtracker
In reply to this post by bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1068&from=L21haW4-

Gianluigi GRADASCHI changed the state of the bug to: Rejected.




------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|

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

bugtracker
In reply to this post by bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1068&from=L21haW4-

Gianluigi GRADASCHI changed the state of the bug to: Opened.




------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user
Reply | Threaded
Open this post in threaded view
|

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

bugtracker
In reply to this post by bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.1068&from=L21haW4-

Gianluigi GRADASCHI changed the state of the bug to: Rejected.




------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Gambas-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user