feat(admin): add draw management features including create, update, delete, and batch delete functionalities
- Implemented API functions for creating, updating, and deleting draws. - Enhanced the admin draws console with UI components for managing draws. - Added internationalization support for new draw management actions and messages.
This commit is contained in:
@@ -54,6 +54,7 @@ export function formatAdminCalendarToday(locale: AdminApiLocale, weekdayLabel: s
|
||||
|
||||
/**
|
||||
* 将接口返回的 ISO 时间串格式化为浏览器本地时区下的 `YYYY-MM-DD HH:mm:ss`。
|
||||
* 期号相关列表请使用 {@link formatAdminInstantInTimeZone} 并传入 UTC。
|
||||
*/
|
||||
export function formatAdminInstant(
|
||||
iso: string | null | undefined,
|
||||
|
||||
5
src/lib/lottery-schedule-timezone.ts
Normal file
5
src/lib/lottery-schedule-timezone.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
/**
|
||||
* PRD / 界面文档:服务器时区 GMT,与 UTC 等效。
|
||||
* @see docs/01-界面文档.md §1.4
|
||||
*/
|
||||
export const LOTTERY_SCHEDULE_TIMEZONE = "UTC";
|
||||
Reference in New Issue
Block a user