]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
The "EST" timezone designation is ambiguous. Do not use it in the test
authordrh <drh@noemail.net>
Fri, 2 Jan 2004 15:08:43 +0000 (15:08 +0000)
committerdrh <drh@noemail.net>
Fri, 2 Jan 2004 15:08:43 +0000 (15:08 +0000)
scripts. (CVS 1155)

FossilOrigin-Name: 720b565e2d02344e4d38263f4995dfabc60c0860

manifest
manifest.uuid
test/date.test

index ecc6d024e0891a20f4410b001438848a0f49c5f1..1d9a310a95b7f45ca2b400838a24ee22d59567cc 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Avoid\san\sassertion\sfault\sthat\scan\soccur\swith\sinvalid\sUTF8\son\sthe\sLENGTH()\nfunction.\s\sTicket\s#548.\s(CVS\s1154)
-D 2004-01-02T13:17:49
+C The\s"EST"\stimezone\sdesignation\sis\sambiguous.\s\sDo\snot\suse\sit\sin\sthe\stest\nscripts.\s(CVS\s1155)
+D 2004-01-02T15:08:43
 F Makefile.in 0515ff9218ad8d5a8f6220f0494b8ef94c67013b
 F Makefile.linux-gcc b86a99c493a5bfb402d1d9178dcdc4bd4b32f906
 F README f1de682fbbd94899d50aca13d387d1b3fd3be2dd
@@ -84,7 +84,7 @@ F test/btree4rb.test ae6f0438512edcb45cf483471cd6070a765963a9
 F test/capi2.test ec96e0e235d87b53cbaef3d8e3e0f8ccf32c71ca
 F test/conflict.test 0911bb2f079046914a6e9c3341b36658c4e2103e
 F test/copy.test 88dabd4e811b17644b726aa81d404e73b7635c84
-F test/date.test 8fe7fab4e901c4bac2572058b3360a59f25d5f14
+F test/date.test 4ef4cfd6aeed10085de8e6872c6b50a534a76979
 F test/delete.test 92256384f1801760180ded129f7427884cf28886
 F test/expr.test c4cc292d601019c2f2ce95093caaa5d10284b105
 F test/fkey1.test d65c824459916249bee501532d6154ddab0b5db7
@@ -179,7 +179,7 @@ F www/speed.tcl 2f6b1155b99d39adb185f900456d1d592c4832b3
 F www/sqlite.tcl 3c83b08cf9f18aa2d69453ff441a36c40e431604
 F www/tclsqlite.tcl b9271d44dcf147a93c98f8ecf28c927307abd6da
 F www/vdbe.tcl 9b9095d4495f37697fd1935d10e14c6015e80aa1
-P ee51e205fb6ef412db6a46077e8bc1554aadcca1
-R 2e756876c3ede7a87eda0f39f9f56c1d
+P 7080fc39eaf98ef7a7d1c1819603f67841f35c72
+R 0f5d0d37504b0cee41bd734f6a13351f
 U drh
-Z 1a53475c3ab7b74045a91b277608d8a9
+Z 48676305f403b742abf6f64db5e2f91e
index 8a6bfa6adddf9c16a1b493523dcf1f0d4d1d50fc..987d505bcc9dd2f8c518e30134229a7fae3e6fdc 100644 (file)
@@ -1 +1 @@
-7080fc39eaf98ef7a7d1c1819603f67841f35c72
\ No newline at end of file
+720b565e2d02344e4d38263f4995dfabc60c0860
\ No newline at end of file
index 85c6ce0b266d0b44f376979efcdaf8767b92ec5f..623f813d85396231cd75738b1da30270c3d9c5ca 100644 (file)
@@ -11,7 +11,7 @@
 # This file implements regression tests for SQLite library.  The
 # focus of this file is testing date and time functions.
 #
-# $Id: date.test,v 1.3 2003/12/23 16:34:13 drh Exp $
+# $Id: date.test,v 1.4 2004/01/02 15:08:43 drh Exp $
 
 set testdir [file dirname $argv0]
 source $testdir/tester.tcl
@@ -124,7 +124,7 @@ datetest 5.4 {datetime('1994-04-16 14:00:00 +11:55')} {1994-04-17 01:55:00}
 # if the localtime is in the US Eastern Time (the time in Charlotte, NC
 # and in New York.)
 #
-if {[clock format 0 -format %Z]=="EST"} {
+if {[clock scan [clock format 0 -format {%b %d, %Y %H:%M:%S}] -gmt 1]==-18000} {
   datetest 6.1 {datetime('2000-10-29 05:59:00','localtime')}\
       {2000-10-29 01:59:00}
   datetest 6.2 {datetime('2000-10-29 06:00:00','localtime')}\