Skip to content

Commit

Permalink
#27
Browse files Browse the repository at this point in the history
Added the following methods:
- today
- tomorrow
- yesterday
- isLeapYear
- isWeekday
- isWeekend
- isToday
- isTomorrow
- isYesterday
- isDayOfWeek
- isBirthday
- isLastOfMonth
- isStartOfDay
- isEndOfDay
- isMidnight
- isMidday

Added daysInMonth getter.

Added tests.

Updated documentation.
  • Loading branch information
BJNSTNKVC committed Mar 27, 2024
1 parent a7d9173 commit 8ff0dee
Show file tree
Hide file tree
Showing 8 changed files with 1,060 additions and 37 deletions.
403 changes: 381 additions & 22 deletions README.md

Large diffs are not rendered by default.

183 changes: 178 additions & 5 deletions lib/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/main.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/main.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bjnstnkvc/carbon",
"version": "1.0.0",
"version": "1.0.1",
"description": "JavaScript equivalent of Carbon date and time manipulation library.",
"main": "lib/main.js",
"source": "src/main.ts",
Expand Down
Loading

0 comments on commit 8ff0dee

Please sign in to comment.