Skip to content

Commit

Permalink
fix: update dateStyle to 'long' in contentConverter.ts (#1244)
Browse files Browse the repository at this point in the history
ほんとにツリーハウスが崩壊したので直した
close #1242
  • Loading branch information
Zel9278 authored May 25, 2024
1 parent c37a384 commit 77dfd48
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/contentConverter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ export const convertContent = (
intlConfig.timeStyle = 'medium'
break
case 'd':
intlConfig.dateStyle = 'short'
intlConfig.dateStyle = 'long'
break
case 'D':
intlConfig.dateStyle = 'medium'
intlConfig.dateStyle = 'long'
break
case 'f':
intlConfig.dateStyle = 'short'
intlConfig.dateStyle = 'long'
intlConfig.timeStyle = 'short'
break
case 'F':
Expand All @@ -117,7 +117,7 @@ export const convertContent = (
break

default:
intlConfig.dateStyle = 'short'
intlConfig.dateStyle = 'long'
intlConfig.timeStyle = 'short'
break
}
Expand Down

0 comments on commit 77dfd48

Please sign in to comment.