Skip to content

cctz: Final transitions not in same year #996

@meztez

Description

@meztez
Image
>   con <- odbc::dbConnect(
+     drv = odbc::odbc(),
+     dsn = "Snowflake",
+     encoding = "",
+     role = var1,
+     database = var1,
+     schema = var2,
+     warehouse = var3,
+     bigint = "numeric",
+     timezone = "America/Toronto",
+     timezone_out = "America/Toronto"
+   )
America/Toronto: Final transitions not in same year
Error: Error loading time zone (America/Toronto)

Error from R, final transitions error prints directly to stdout (via cctz lib)

Fix in #995


R version 4.5.3 (2026-03-11 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 11 x64 (build 22631)

Matrix products: default
  LAPACK version 3.12.1

locale:
[1] LC_COLLATE=English_Canada.utf8  LC_CTYPE=English_Canada.utf8   
[3] LC_MONETARY=English_Canada.utf8 LC_NUMERIC=C                   
[5] LC_TIME=English_Canada.utf8    

time zone: America/Toronto
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] vctrs_0.7.2       cli_3.6.5         knitr_1.51        rlang_1.1.7       xfun_0.57        
 [6] DBI_1.3.0         processx_3.8.6    glue_1.8.0        bit_4.6.0         clipr_0.8.0      
[11] htmltools_0.5.9   ps_1.9.1          hms_1.1.4         rmarkdown_2.30    evaluate_1.0.5   
[16] tibble_3.3.1      fastmap_1.2.0     yaml_2.3.12       lifecycle_1.0.5   odbc_1.6.4.1     
[21] compiler_4.5.3    fs_2.0.1          blob_1.3.0        Rcpp_1.1.1        pkgconfig_2.0.3  
[26] rstudioapi_0.18.0 digest_0.6.39     R6_2.6.1          reprex_2.1.1      pillar_1.11.1    
[31] callr_3.7.6       magrittr_2.0.4    tools_4.5.3       withr_3.0.2       bit64_4.6.0-1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions