Skip to content

Commit

Permalink
chore(app): release v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mavyfaby committed Sep 11, 2023
1 parent 827894f commit 21fa6b0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "csps-web",
"private": true,
"version": "1.0.0-beta.4",
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
4 changes: 2 additions & 2 deletions src/utils/date.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ export function getTime(date: Date) {
*/
export function getHumanDate(date1: Date, date2?: Date | undefined) {
const day1 = date1.getDate();
const month1 = getMonthName(date1.getMonth());
const month1 = getMonthName(date1.getMonth() + 1);
const year1 = date1.getFullYear();

if (date2) {
const day2 = date2.getDate();
const month2 = getMonthName(date2.getMonth());
const month2 = getMonthName(date2.getMonth() + 1);
const year2 = date2.getFullYear();

if (month1 === month2 && year1 === year2 && day1 === day2) {
Expand Down

1 comment on commit 21fa6b0

@vercel
Copy link

@vercel vercel bot commented on 21fa6b0 Sep 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

csps – ./

csps-git-main-csps.vercel.app
ucmncsps.org
csps-csps.vercel.app

Please sign in to comment.