Date-time parsing is very weak
------------------------------

                 Key: CORE-5750
                 URL: http://tracker.firebirdsql.org/browse/CORE-5750
             Project: Firebird Core
          Issue Type: Bug
            Reporter: Adriano dos Santos Fernandes


Firebird date-time parser accepts non-standard separators, accepting 
(interpreting) wrong strings.

These are currently considered valid:

SQL> select timestamp '2018-01-01 10 20 30' from rdb$database;

                 CONSTANT 
========================= 
2018-01-01 10:20:30.0000  

SQL> select timestamp '2018-01-01 10,20,30 40' from rdb$database;

                 CONSTANT 
========================= 
2018-01-01 10:20:30.4000  

This is a problem when timezone is introduced, as the zone is separated from 
the time by a space.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to