Skip to content

Conversation

@omus
Copy link
Member

@omus omus commented Mar 13, 2017

Functions in Base.Dates that using DateLocale typically supported either taking a DateLocale instance or a string. Typically this meant that functions would use the type-assertion Union{DateLocale, String} which made the function signatures really long and needed to be wrapped. I've made the type alias Locale to make these function signatures more readable.

Additionally, the format function was updated to support all TimeType subtypes and not just Date and DateTime.

@omus omus added the dates Dates, times, and the Dates stdlib module label Mar 13, 2017
@tkelman tkelman merged commit 8f97e6e into master Mar 17, 2017
@tkelman tkelman deleted the cv/datelocale-param branch March 17, 2017 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dates Dates, times, and the Dates stdlib module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants