fix(rectification): label declared birth time as record or estimate (BUG-690)
Hospital records, family estimates and period-only windows now keep distinct copy on the board and range card. Scoring still uses the reported clock as the search-window centre. Hospital minutes outside the current range are stated with the offset and no preference.
This commit is contained in:
@@ -222,9 +222,16 @@ test("live-row labels follow the action that started the turn", () => {
|
||||
});
|
||||
|
||||
test("board copy before any candidate shows the declared minute, never invented data", () => {
|
||||
// 原值: 「填报出生时间 05:10」
|
||||
// 新值: 缺来源时按大概时间;医院记录用「出生记录时间」
|
||||
// 原因: BUG-690 推算值不得称作「你的出生时间」
|
||||
assert.deepEqual(rectificationBoardEmptyCopy("05:10"), {
|
||||
clock: "05:10",
|
||||
lines: ["填报出生时间 05:10", "回答几个问题后,这里会显示宫位随时间的变化。"],
|
||||
lines: ["你填的大概时间 05:10", "回答几个问题后,这里会显示宫位随时间的变化。"],
|
||||
});
|
||||
assert.deepEqual(rectificationBoardEmptyCopy("05:10", "hospital_record"), {
|
||||
clock: "05:10",
|
||||
lines: ["出生记录时间 05:10", "回答几个问题后,这里会显示宫位随时间的变化。"],
|
||||
});
|
||||
assert.deepEqual(rectificationBoardEmptyCopy(null), {
|
||||
clock: null,
|
||||
|
||||
Reference in New Issue
Block a user