This repository has been archived by the owner on Nov 17, 2024. It is now read-only.
Gacha // Keep the server gacha record timestamp intact. #180
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
经 UIGF 群内有人实测发现:
穹披助手之前没有对抓取到的 Date String 原样备案的机制,
所以目前已知一个不可逆的资料错误(截至 v1.3.2 Beta 6 Build 417):
只要是之前用穹披助手抽取过的资料、且抓取时的设备时区与伺服器时区不一致的话,
那么抓到的每一笔抽卡资料都有时区偏移误差。
穹披助手 v1.3.2 RC1 Build 423 修复了时区 Bug。
然而,为了根除今后产生这种误差的任何可能性,这个 PR 将带来下述改变:
该 PR 的审核点:
请务必重点检查任何「将 HBMihoyoAPI.GachaItem 转储成 GachaItemMO 且塞到 CoreData 资料库内」的场合、
看看有没有我忘记将 timeRawValue 存档的场合。