Skip to content

Commit

Permalink
Javascript hasty copy/paste
Browse files Browse the repository at this point in the history
  • Loading branch information
A---- committed Apr 23, 2015
1 parent 8062be2 commit 80e984c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -26,7 +26,7 @@ midnightTonight = moment().transform('+01/MM/YYYY', ['DD/MM/YYYY', 'DD/MM/YYYY H
tomorrow = moment().transform('+01MMYYYY', 'DD/MM/YYYY', false); // this works
invalid = moment().transform('+01MMYYYY', 'DD/MM/YYYY', true); // this will return an invalid date.
invalid.isValid(); // false
var breakfirstTimeToday = moment().transform('07:30:00', undefined, true); // with default patterns
breakfirstTimeToday = moment().transform('07:30:00', undefined, true); // with default patterns
```

## Options
Expand Down

0 comments on commit 80e984c

Please sign in to comment.