-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Dragon-Fish
committed
Dec 29, 2023
1 parent
c721b9a
commit 6ee1618
Showing
12 changed files
with
200 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<template> | ||
<time :datetime="computedDate.toISOString()">{{ formatedStr }}</time> | ||
</template> | ||
|
||
<script lang="ts" setup> | ||
import { computed } from 'vue' | ||
const props = withDefaults( | ||
defineProps<{ | ||
date?: string | number | Date | ||
}>(), | ||
{ | ||
date: undefined, | ||
} | ||
) | ||
const computedDate = computed(() => { | ||
return props.date ? new Date(props.date) : new Date() | ||
}) | ||
const formatedStr = computed(() => { | ||
if (window.Intl) { | ||
return new Intl.DateTimeFormat('default', { | ||
dateStyle: 'medium', | ||
timeStyle: 'medium', | ||
}).format(computedDate.value) | ||
} else { | ||
return computedDate.value.toLocaleDateString() | ||
} | ||
}) | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# 14.1.0 `StephanieDola` | ||
# 14.1.0 `Stephanie Dola` | ||
|
||
更新日期:2020 年 9 月 10 日 20:19:20 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
# 14.3.2 | ||
|
||
更新时间:2023/2/1 20:09:28 (UTC+8) | ||
更新时间:<UpdateTime date='2023/2/1 20:09:28 (UTC+8)' /> | ||
|
||
::: tip | ||
本次更新主要为小修复,没有新增功能。 | ||
::: | ||
|
||
* fix(i18n): typo by @lovelyCARDINAL in [#205](<IssueLink id="205" />) | ||
* improvement(quickEdit): change the revision link by @lovelyCARDINAL in [#202](<IssueLink id="202" />) | ||
* fix(i18n): rename image usage to file usage by @leranjun in [#206](<IssueLink id="206" />) | ||
* feat(articleLink.js): support section-0 link by @bhsd-harry in [#208](<IssueLink id="208" />) | ||
* fix(articleLinks.js): fix lying wgServer by @bhsd-harry in [#209](<IssueLink id="209" />) | ||
* perf: rewrite articleLink, close #212 by @dragon-fish in [#213](<IssueLink id="213" />) | ||
* build: upgrade dev deps by @dragon-fish in [#214](https://github.co/inpageedit/inpageedit-v2/pull/214) | ||
- fix(i18n): typo by @lovelyCARDINAL in <IssueLink id="205" /> | ||
- improvement(quickEdit): change the revision link by @lovelyCARDINAL in <IssueLink id="202" /> | ||
- fix(i18n): rename image usage to file usage by @leranjun in <IssueLink id="206" /> | ||
- feat(articleLink.js): support section-0 link by @bhsd-harry in <IssueLink id="208" /> | ||
- fix(articleLinks.js): fix lying wgServer by @bhsd-harry in <IssueLink id="209" /> | ||
- perf: rewrite articleLink, close #212 by @dragon-fish in <IssueLink id="213" /> | ||
- build: upgrade dev deps by @dragon-fish in <IssueLink id="214" /> | ||
|
||
**Full Changelog**: [14.3.1...14.3.2](https://github.com/inpageedit/inpageedit-v2/compare/14.3.1...14.3.2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# 14.5.0 `Chlammy Zell` | ||
|
||
更新时间:<UpdateTime date='Fri Dec 29 2023 16:30:38 GMT+0800' /> | ||
|
||
::: tip | ||
::: | ||
|
||
<!-- Release notes generated using configuration in .github/release.yml at 14.5.0 --> | ||
|
||
## What's Changed | ||
|
||
### 🛠️ Housekeeping | ||
|
||
- Bugfix-1108 by @AnYiEE in <IssueLink id="234" /> | ||
- Add timestamp to page diff function by @dragon-fish in <IssueLink id="239" /> | ||
|
||
## New Contributors | ||
|
||
- @AnYiEE made their first contribution in <IssueLink id="234" /> | ||
|
||
**Full Changelog**: https://github.com/inpageedit/inpageedit-v2/compare/14.4.1...14.5.0 |
Oops, something went wrong.