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/19 12:21:24 UTC

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

     [ https://issues.apache.org/jira/browse/CASSANDRA-6718?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sylvain Lebresne resolved CASSANDRA-6718.
-----------------------------------------

    Resolution: Fixed
      Reviewer: Aleksey Yeschenko

Committed, thanks

> 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
>
>         Attachments: 6718.txt
>
>
> 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)