Files
star-cloud/GEMINI.md
sky121113 7f9f76111c
All checks were successful
star-cloud-deploy-demo / deploy-demo (push) Successful in 49s
[DOC] 新增 GEMINI.md 與 開發.md 規範手冊,統一時區與開發慣例
2026-03-13 10:38:05 +08:00

21 lines
772 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Star Cloud 開發規範 (GEMINI.md)
## 1. 時間與時區規範
- **預設時區**:必須設定為 `Asia/Taipei` (UTC+8)。
- **實作方式**
- `.env`:必須包含 `APP_TIMEZONE=Asia/Taipei`
- `config/app.php`:必須使用 `env('APP_TIMEZONE', 'Asia/Taipei')` 並將其作為預設值。
- **目的**:確保所有資料庫紀錄、日誌及使用者介面顯示的時間與台灣當地時間一致。
## 2. 語系規範
- **預設語系**:繁體中文 (`zh_TW`)。
- **實作方式**
- `.env``APP_LOCALE=zh_TW`
- `config/app.php``env('APP_LOCALE', 'zh_TW')`
## 3. 專案建立規範
- 未來任何新專案的初始化,都必須**優先完成**上述時區與語系的設定,嚴禁使用預設的 UTC 或英文設定。