Skip to content

Commit ad7fe59

Browse files
Delgansdispater
authored andcommitted
Fix typos in "end_of()" documentation (#218)
1 parent e50108a commit ad7fe59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/modifiers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ It returns the middle date between itself and the provided `DateTime` argument.
2828
'2012-01-01 00:00:00'
2929

3030
>>> dt.end_of('year')
31-
'2012-01-31 23:59:59'
31+
'2012-12-31 23:59:59'
3232

3333
>>> dt.start_of('decade')
3434
'2010-01-01 00:00:00'
3535

3636
>>> dt.end_of('decade')
37-
'2019-01-31 23:59:59'
37+
'2019-12-31 23:59:59'
3838

3939
>>> dt.start_of('century')
4040
'2000-01-01 00:00:00'

0 commit comments

Comments
 (0)