-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
datesDates, times, and the Dates stdlib moduleDates, times, and the Dates stdlib moduledisplay and printingAesthetics and correctness of printed representations of objects.Aesthetics and correctness of printed representations of objects.good first issueIndicates a good issue for first-time contributors to JuliaIndicates a good issue for first-time contributors to Julia
Description
According to the docstring for repr:
Note that
repr(x)is usually similar to how the value of x would be entered in Julia
Unfortunately this is not the behaviour of Date and DateTime:
julia> using Dates
julia> x = Date(2018)
2018-01-01
julia> repr(x)
"2018-01-01"
julia> y = DateTime(2018)
2018-01-01T00:00:00
julia> repr(y)
"2018-01-01T00:00:00"Metadata
Metadata
Assignees
Labels
datesDates, times, and the Dates stdlib moduleDates, times, and the Dates stdlib moduledisplay and printingAesthetics and correctness of printed representations of objects.Aesthetics and correctness of printed representations of objects.good first issueIndicates a good issue for first-time contributors to JuliaIndicates a good issue for first-time contributors to Julia