diff --git a/Data/Time/Zones.hs b/Data/Time/Zones.hs
--- a/Data/Time/Zones.hs
+++ b/Data/Time/Zones.hs
@@ -154,7 +154,7 @@
     lBound = lTime - 86400
     ix = binarySearch trans lBound
     cand1 = lTime - fromIntegral (VU.unsafeIndex diffs ix)
-    res = if ix == VU.length trans
+    res = if ix == VU.length trans - 1
           then FLUnique ix cand1 -- TODO(klao): extend when rule handling is added
           else res'
 
diff --git a/stack.yaml b/stack.yaml
new file mode 100644
--- /dev/null
+++ b/stack.yaml
@@ -0,0 +1,35 @@
+# For more information, see: https://github.com/commercialhaskell/stack/blob/release/doc/yaml_configuration.md
+
+# Specifies the GHC version and set of packages available (e.g., lts-3.5, nightly-2015-09-21, ghc-7.10.2)
+resolver: lts-3.17
+
+# Local packages, usually specified by relative directory name
+packages:
+- '.'
+
+# Packages to be pulled from upstream that are not in the resolver (e.g., acme-missiles-0.3)
+extra-deps:
+- bindings-posix-1.2.6
+- criterion-1.1.0.0
+- tzdata-0.1.20150810.0
+
+# Override default flag values for local packages and extra-deps
+flags: {}
+
+# Extra package databases containing global packages
+extra-package-dbs: []
+
+# Control whether we use the GHC we find on the path
+# system-ghc: true
+
+# Require a specific version of stack, using version ranges
+# require-stack-version: -any # Default
+# require-stack-version: >= 0.1.4.0
+
+# Override the architecture used by stack, especially useful on Windows
+# arch: i386
+# arch: x86_64
+
+# Extra directories used by stack for building
+# extra-include-dirs: [/path/to/dir]
+# extra-lib-dirs: [/path/to/dir]
diff --git a/tests/testTZ.hs b/tests/testTZ.hs
--- a/tests/testTZ.hs
+++ b/tests/testTZ.hs
@@ -161,6 +161,14 @@
     LTUAmbiguous (mkUTC 2013 10 27  00 15 15) (mkUTC 2013 10 27  01 15 15)
       zSummer zWinter
 
+-- Local->UTC, test for time zones that stop having DST.
+-- Bug reported in #8
+case_Brisbane_LocalToUTC = do
+  tz <- loadTZFromDB "Asia/Singapore"
+  let zSingapore = TimeZone 480 False "SGT"
+  localTimeToUTCFull tz (mkLocal 2015 11 23  00 00 00) @?=
+    LTUUnique (mkUTC 2015 11 22  16 00 00) zSingapore
+
 case_UTC_diffForAbbr = do
   tz <- loadTZFromDB "UTC"
   diffForAbbr tz "UTC" @?= Just 0
diff --git a/tz.cabal b/tz.cabal
--- a/tz.cabal
+++ b/tz.cabal
@@ -1,5 +1,5 @@
 Name: tz
-Version: 0.0.0.10
+Version: 0.1.0.0
 License: Apache-2.0
 License-File: LICENSE
 Author: Mihaly Barasz, Gergely Risko
@@ -20,13 +20,14 @@
   the standard Time Zone Dabase by the means of the companion @tzdata@
   package <http://hackage.haskell.org/package/tzdata>.
   .
-  The package is currently in a draft phase, I'm still experimenting
+  The package is currently in an alpha phase, I'm still experimenting
   with different ideas wrt. scope\/API\/implementation\/etc. All
   comments are welcome!
 
 Extra-Source-Files:
   README.md
   examples/*.hs
+  stack.yaml
 
 Source-Repository head
   Type: git
@@ -55,13 +56,13 @@
     deepseq            >= 1.1      && < 2,
     time               >= 1.2      && < 1.6,
     tzdata             >= 0.1      && < 0.2,
-    vector             >= 0.9      && < 0.11
+    vector             >= 0.9      && < 0.12
   if flag(template-haskell)
     Exposed-Modules:
       Data.Time.Zones.TH,
       Data.Time.Zones.Internal.CoerceTH
     Build-Depends:
-      template-haskell   >= 2.6      && < 2.10
+      template-haskell   >= 2.6      && < 2.11
     CPP-Options: -DTZ_TH
 
 
@@ -83,7 +84,7 @@
     test-framework-th          >= 0.2     && < 0.4,
     time                       >= 1.2     && < 1.6,
     unix                       >= 2.6     && < 3,
-    vector                     >= 0.9     && < 0.11
+    vector                     >= 0.9     && < 0.12
 
 Test-Suite th-test
   Default-Language: Haskell2010
