Closed tktcorporation closed 5 months ago
この変更の全体的な要約は、日付オブジェクトの取り扱いを改善し、文字列ではなくDate
オブジェクトを使用するように更新したことです。これにより、日付の比較やフォーマットが簡単になり、冗長な計算が削除されました。
ファイル | 変更概要 |
---|---|
DEV_README.md | UTCでのDateオブジェクトの取り扱いとローカルタイムへの変換に関するセクションを追加 |
electron/api.ts electron/module/.../service.ts electron/module/.../createWorldNameImage.ts electron/module/service.spec.ts electron/module/service.ts electron/module/service/type.ts electron/module/service/vrchatLog/vrchatLog.ts electron/module/service/vrchatPhoto/service.ts electron/module/vrchatLog/service.ts electron/module/vrchatLog/type.ts src/components/JoinInfoPreview.tsx |
Date オブジェクトを使用して日付の取り扱いを改善し、date-fns を使用して日付をフォーマット |
🐰の詩
変更の風、新しい朝が来た
日付の扱い、シンプルになった
コードは軽やか、バグは遠ざかる
🌼春の日、開発者の笑顔咲く
/> フ
| ^ ^ |
\ /
| ⌒I
しーJ
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Summary by CodeRabbit
新機能
リファクタ
Date
オブジェクトの使用を強化し、日付の扱いを簡素化しました。これにより、日付の比較やフォーマットが簡単になります。date-fns
ライブラリを導入し、日付の操作とフォーマットを改善しました。バグ修正
ドキュメント