Skip to content

Commit

Permalink
Whoops, wrong placement
Browse files Browse the repository at this point in the history
  • Loading branch information
zachwill committed Mar 6, 2013
1 parent 71d4e76 commit 89859ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -59,15 +59,15 @@ moment.date([2012, 12, 18]).to_date()
# Alternatively, use the done method to return a datetime
moment.date((2012, 12, 18)).done()

# Don't like the methods? There's a @property or two for that.
moment.now().datetime == moment.now().date

# And, who needs an iterable when we have *args?
moment.date(2012, 12, 18).done()

# We can do the same thing with the UTC method
moment.utc(2012, 12, 18).to_date()

# Don't like the methods? There's a @property or two for that.
moment.now().datetime == moment.now().date

# Create and format a moment using Moment.js semantics
moment.now().format('YYYY-M-D')

Expand Down

0 comments on commit 89859ef

Please sign in to comment.