docs(datetime/difference): fix error in example (#3441)

This commit is contained in:
familyboat 2023-06-11 15:33:33 +08:00 committed by GitHub
parent 7e67e2668f
commit 575ce31930
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ function calculateMonthsDifference(from: Date, to: Date): number {
* // days: 730,
* // weeks: 104,
* // months: 23,
* // quarters: 5,
* // quarters: 7,
* // years: 1
* // }
* ```