mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-16 22:13:47 +08:00
添加用户管理页
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
export function getCurrentTime(): string {
|
||||
const now = new Date();
|
||||
export function getCurrentTime(now?: Date): string {
|
||||
if (!now) {
|
||||
const now = new Date();
|
||||
}
|
||||
const formatter = new Intl.DateTimeFormat("zh-CN", {
|
||||
timeZone: "Asia/Shanghai", // 设置为中国标准时间
|
||||
year: "numeric",
|
||||
|
||||
Reference in New Issue
Block a user