You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2014/02/18 17:42:21 UTC

[jira] [Created] (CASSANDRA-6718) DateType should accept pre-epoch (negative) timestamp in fromString

Sylvain Lebresne created CASSANDRA-6718:
-------------------------------------------

             Summary: DateType should accept pre-epoch (negative) timestamp in fromString
                 Key: CASSANDRA-6718
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6718
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Sylvain Lebresne
            Assignee: Sylvain Lebresne
            Priority: Minor
             Fix For: 1.2.16


DateType.fromString() method doesn't accept negative timestamp for pre-epoch timestamps. It really just seem to be an oversight, the regexp that recognize digits no recognizing the minus sign, because DateType has no problem with negative timestamp otherwise, and in fact accept then if you provide them as date strings.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)