From 6b4ac06301fb829f4b24d9da13d384609e3e2ad0 Mon Sep 17 00:00:00 2001 From: JB Nizet Date: Thu, 28 Dec 2017 23:25:52 +0100 Subject: [PATCH] fix documentation examples (that were mixed up) (#140) --- src/datetime.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/datetime.js b/src/datetime.js index fbb2a4a20..dd46f9845 100644 --- a/src/datetime.js +++ b/src/datetime.js @@ -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} */