Skip to content

Commit

Permalink
fix #14159, suggest using Base.Dates instead of using Dates
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffBezanson committed Dec 1, 2015
1 parent 8ad0d6e commit f308703
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/stdlib/dates.rst
Expand Up @@ -43,8 +43,8 @@ Dates Functions
---------------

All Dates functions are defined in the ``Dates`` module; note that only the ``Date``, ``DateTime``, and ``now`` functions are exported;
to use all other ``Dates`` functions, you'll need to prefix each function call with an explicit ``Dates.``, e.g. ``Dates.dayofweek(dt)``;
alternatively, you could call ``using Dates`` to bring all exported functions into ``Main`` to be used without the ``Dates.`` prefix.
to use all other ``Dates`` functions, you'll need to prefix each function call with an explicit ``Dates.``, e.g. ``Dates.dayofweek(dt)``.
Alternatively, you can write ``using Base.Dates`` to bring all exported functions into ``Main`` to be used without the ``Dates.`` prefix.


.. function:: DateTime(y, [m, d, h, mi, s, ms]) -> DateTime
Expand Down

0 comments on commit f308703

Please sign in to comment.