
# link

- [disc](https://ku.baidu-int.com/knowledge/HFVrC7hq1Q/pKzJfZczuc/tfL9tZh9ui/szbOnDi87GRrYl)
- [i18n 单例](https://console.cloud.baidu-int.com/devops/icode/repos/baidu/be-fe/brick/reviews/102980344/files/base...latest/components/config-provider/src/config-provider.tsx)
- [dayjs i18n](https://day.js.org/docs/en/i18n/changing-locale)
  - 感觉, dayjs i18n 在当前仅 `中/英` 场景下, 并不是非常必要
    - 需要的为 : 
      - `dd`, `(周)几`
      - `MMM`, `{M}月`
  - (更多的是 "国际本土化" ?)
  

# 0513

- () where
  - (x) 如何做
  - (x) brick?
    - [locale](/components/dialog/src/locale.ts)
  - default item format : computedItemFormat
  - (x) 去掉 : title format & default title format
    - (@) key 丢失 : snake key 问题 (存在这个风险, 需要打印?)
    - (x) 加入 i18n 的  code warning
- (x) 梳理要点 & 实现
  - (-) dayjs en?
  - (x) title
    - (x) function ?
      - (x) key 的可追溯性 : 定的更长一点
    - (x) y m
      - (x) 实验
    - (x) y
    - (x) m
    - (x) range picker 
      - (x) 为空?
      - (x) 未加 comp locale 的字段
  - (x) 月份
    - month panel
    - (x) getMonthRows
    - (x) get text cn & en
    - (x) locale mapping
    - (x) range picker test
  - (x) day of week
    - (x) i18n
    - (x) date panel
    - (x) range picker
    - (@) context 不应在 construct 阶段 (因为都没有渲染)
  - (-) date format
  - (-) next, prev
- () test
