Skip to content

Commit

Permalink
Merge pull request JuliaLang#10050 from rened/datesdefaultdocs
Browse files Browse the repository at this point in the history
fix doc for Dates.default
  • Loading branch information
jiahao committed Feb 3, 2015
2 parents 651419a + 5543954 commit 950b249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/stdlib/dates.rst
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ Periods
Construct a ``Period`` type with the given ``v`` value.
Input must be losslessly convertible to an ``Int64``.

.. function:: default(p::Period) => Period
.. function:: default(p::Period) -> Period

Returns a sensible "default" value for the input Period by returning
``one(p)`` for Year, Month, and Day, and ``zero(p)`` for Hour, Minute,
Expand Down

0 comments on commit 950b249

Please sign in to comment.