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

Unified Diff: third_party/sqlite/src/test/date.test

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/sqlite/src/test/cursorhint.test ('k') | third_party/sqlite/src/test/delete.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/date.test
diff --git a/third_party/sqlite/src/test/date.test b/third_party/sqlite/src/test/date.test
index b1d1c677c1c17dba6432e31bf12e221cf4aaf051..2f48b111e6f4e64f125008a5803511e6b56591f4 100644
--- a/third_party/sqlite/src/test/date.test
+++ b/third_party/sqlite/src/test/date.test
@@ -336,6 +336,15 @@ if {$tzoffset_new==4} {
datetest 6.8.1 {datetime('2006-04-02 02:00:00','utc')} {2006-04-02 06:00:00}
datetest 6.8.2 {datetime('2007-03-11 02:00:00','utc')} {2007-03-11 06:00:00}
+ # The 'utc' modifier is a no-op if the LHS is known to already be in UTC
+ datetest 6.9.1 {datetime('2015-12-23 12:00:00','utc')} {2015-12-23 17:00:00}
+ datetest 6.9.2 {datetime('2015-12-23 12:00:00z','utc')} {2015-12-23 12:00:00}
+ datetest 6.9.3 {datetime('2015-12-23 12:00:00-03:00','utc')} \
+ {2015-12-23 15:00:00}
+ datetest 6.9.4 {datetime('2015-12-23 12:00:00','utc','utc','utc')} \
+ {2015-12-23 17:00:00}
+
+
datetest 6.10 {datetime('2000-01-01 12:00:00','localtime')} \
{2000-01-01 07:00:00}
datetest 6.11 {datetime('1969-01-01 12:00:00','localtime')} \
« no previous file with comments | « third_party/sqlite/src/test/cursorhint.test ('k') | third_party/sqlite/src/test/delete.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698