mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 22:05:51 +03:00
[PR #483] [MERGED] feat: |UI| show local datetime string and add useUTCDate option #589
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudflare_temp_email#589
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/483
Author: @dreamhunter2333
Created: 11/14/2024
Status: ✅ Merged
Merged: 11/14/2024
Merged by: @dreamhunter2333
Base:
main← Head:feature/dev📝 Commits (1)
ce0232afeat: |UI| show local datetime string and add useUTCDate option📊 Changes
7 files changed (+38 additions, -13 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
frontend/src/components/MailBox.vue(+6 -5)📝
frontend/src/components/SendBox.vue(+6 -5)📝
frontend/src/store/index.js(+2 -0)📝
frontend/src/utils/index.ts(+14 -0)📝
frontend/src/views/common/Appearance.vue(+6 -1)📝
frontend/src/views/telegram/Mail.vue(+3 -2)📄 Description
User description
#480
PR Type
enhancement, documentation
Description
useUTCDateto manage the timezone display setting.MailBox.vue,SendBox.vue,Appearance.vue,Mail.vue) to use the newutcToLocalDatefunction for date conversion.Changes walkthrough 📝
MailBox.vue
Add local date display option in MailBox componentfrontend/src/components/MailBox.vue
utcToLocalDatefunction to convert UTC date to local date.useUTCDatestate to toggle between UTC and local date.utcToLocalDate.SendBox.vue
Add local date display option in SendBox componentfrontend/src/components/SendBox.vue
utcToLocalDatefunction to convert UTC date to local date.useUTCDatestate to toggle between UTC and local date.utcToLocalDate.Appearance.vue
Add UTC date toggle option in Appearance settingsfrontend/src/views/common/Appearance.vue
useUTCDatestate to global settings.useUTCDate.Mail.vue
Add local date display option in Telegram Mail viewfrontend/src/views/telegram/Mail.vue
utcToLocalDatefunction to convert UTC date to local date.useUTCDatestate to toggle between UTC and local date.utcToLocalDate.index.ts
Add utility function for UTC to local date conversionfrontend/src/utils/index.ts
utcToLocalDateutility function to convert UTC date to localdate.
index.js
Add `useUTCDate` state to global storefrontend/src/store/index.js
useUTCDatestate to global store.useUTCDatewith local storage.CHANGELOG.md
Update changelog for local timezone display featureCHANGELOG.md
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.