We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c793aa commit 6ee5f70Copy full SHA for 6ee5f70
src/util/time.ts
@@ -113,7 +113,7 @@ export function format(
113
const date = numberUtil.parseDate(time);
114
const y = date[fullYearGetterName(isUTC)]();
115
const M = date[monthGetterName(isUTC)]() + 1;
116
- const q = Math.floor((M - 1) / 4) + 1;
+ const q = Math.floor((M - 1) / 3) + 1;
117
const d = date[dateGetterName(isUTC)]();
118
const e = date['get' + (isUTC ? 'UTC' : '') + 'Day' as 'getDay' | 'getUTCDay']();
119
const H = date[hoursGetterName(isUTC)]();
0 commit comments