Skip to content

Commit

Permalink
Remove getDate function and refactor usage
Browse files Browse the repository at this point in the history
The getDate function has been removed as it is not needed. All usages of this function have been refactored to utilize built-in JavaScript methods for converting date to an ISO string and slicing it to the desired format. This simplifies the code by reducing the number of custom functions.
  • Loading branch information
AhmedElywa committed Jun 24, 2024
1 parent 9c50de0 commit 379cb91
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions packages/admin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @paljs/admin

## 7.0.3

### Patch Changes

- Remove getDate function and refactor usage

## 7.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/admin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@paljs/admin",
"version": "7.0.2",
"version": "7.0.3",
"main": "index.js",
"module": "./esm/index.js",
"types": "index.d.ts",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@heroicons/react": "1.x",
"@material-ui/core": "4.x",
"@material-ui/icons": "4.x",
"@paljs/admin": "7.0.2",
"@paljs/admin": "7.0.3",
"@paljs/nexus": "7.0.0",
"@prisma/client": "3.x",
"apollo-server-micro": "3.x",
Expand Down
2 changes: 1 addition & 1 deletion packages/create/examples/full-stack-nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"@heroicons/react": "1.x",
"@material-ui/core": "4.x",
"@material-ui/icons": "4.x",
"@paljs/admin": "7.0.2",
"@paljs/admin": "7.0.3",
"@paljs/nexus": "7.0.0",
"@prisma/client": "5.x",
"apollo-server-micro": "3.x",
Expand Down

0 comments on commit 379cb91

Please sign in to comment.