cassandra pull request: Added patterns to cover ISO8601 dates with miliseco...

2013-11-21 Thread lorcan
GitHub user lorcan opened a pull request:

https://github.com/apache/cassandra/pull/23

Added patterns to cover ISO8601 dates with miliseconds.

Currently it is impossible to query for dates with sub-second accuracy from 
cqlsh because the parser doesn't recognise dates formatted like `2013-09-30 
22:19:06.591`. This pull request adds the following four ISO8601 patterns:

"-MM-dd HH:mm:ss.SSS",
"-MM-dd HH:mm:ss.SSSZ",
"-MM-dd'T'HH:mm:ss.SSS",
"-MM-dd'T'HH:mm:ss.SSSZ",

This change also allows the minTimeuuid/maxTimeuuid functions to take dates 
with milisecond granularity. 

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/lorcan/cassandra milisecondISOFormat

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/cassandra/pull/23.patch

----
commit 5e66cbdb18bcc29226eaf0dc2cd981cdac611a1f
Author: Lorcan Coyle 
Date:   2013-11-21T19:46:22Z

Added patterns to cover ISO8601 dates with miliseconds.

Without this it is impossible for the minTimeuuid/maxTimeuuid functions
to take dates with miliseconds.





cassandra pull request: Added patterns to cover ISO8601 dates with miliseco...

2013-11-22 Thread lorcan
Github user lorcan closed the pull request at:

https://github.com/apache/cassandra/pull/23