Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Unified Diff: third_party/WebKit/Source/platform/DateComponents.cpp

Issue 2418573003: date-time-local WIP
Patch Set: Fix some more Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/html/forms/DateTimeLocalInputType.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/DateComponents.cpp
diff --git a/third_party/WebKit/Source/platform/DateComponents.cpp b/third_party/WebKit/Source/platform/DateComponents.cpp
index 5ad6e0b7dc0985e36e8553bf5603b88fd3848d4f..5218351554d98ccb7395731388e505446128c902 100644
--- a/third_party/WebKit/Source/platform/DateComponents.cpp
+++ b/third_party/WebKit/Source/platform/DateComponents.cpp
@@ -473,7 +473,7 @@ bool DateComponents::parseDateTimeLocal(const String& src,
return false;
if (index >= src.length())
return false;
- if (src[index] != 'T')
+ if (src[index] != 'T' && src[index] != ' ')
return false;
++index;
if (!parseTime(src, index, end))
« no previous file with comments | « third_party/WebKit/Source/core/html/forms/DateTimeLocalInputType.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698