Skip to content

Commit

Permalink
fix documentation examples (that were mixed up) (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnizet authored and icambron committed Dec 28, 2017
1 parent da0306f commit 6b4ac06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/datetime.js
Expand Up @@ -1262,8 +1262,8 @@ export class DateTime {
* @param {string} fmt - the format string
* @param {object} opts - options
* @param {boolean} opts.round - round numerical values
* @example DateTime.local().toFormat('yyyy LLL dd') //=> '2017 avr. 22'
* @example DateTime.local().setLocale('fr').toFormat('yyyy LLL dd') //=> '2017 Apr 22'
* @example DateTime.local().toFormat('yyyy LLL dd') //=> '2017 Apr 22'
* @example DateTime.local().setLocale('fr').toFormat('yyyy LLL dd') //=> '2017 avr. 22'
* @example DateTime.local().toFormat("HH 'hours and' mm 'minutes'") //=> '20 hours and 55 minutes'
* @return {string}
*/
Expand Down

0 comments on commit 6b4ac06

Please sign in to comment.