Permalink
Browse files

Fix validation of dates

patch by slebresne; reviewed by jbellis for CASSANDRA-4441
  • Loading branch information...
1 parent b3ca94b commit 6399c94e48203d233d997372dc9fccf713177d99 @pcmanus pcmanus committed Jul 16, 2012
View
Binary file not shown.
View
Binary file not shown.
@@ -108,7 +108,7 @@ else if (source.matches("^\\d+$"))
{
try
{
- millis = DateUtils.parseDate(source, iso8601Patterns).getTime();
+ millis = DateUtils.parseDateStrictly(source, iso8601Patterns).getTime();
}
catch (ParseException e1)
{

0 comments on commit 6399c94

Please sign in to comment.