Skip to content

Date(Dates.Week(5), Dates.Year(2023)) (week, year) constructor is not working #48490

@isentropic

Description

@isentropic

Relevant docs:
https://docs.julialang.org/en/v1/stdlib/Dates/#Constructors

MWE:

julia> Date(Dates.Week(5), Dates.Year(2023),)
2023-01-01
julia> versioninfo()
Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 16 × 12th Gen Intel(R) Core(TM) i7-1260P
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, goldmont)
  Threads: 8 on 16 virtual cores

Metadata

Metadata

Assignees

No one assigned

    Labels

    datesDates, times, and the Dates stdlib module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions