F1 只有表头含速度、度数或黄经的表保持单行,其余表和打印都换行。 F2 保存他人收成 saveOtherProfile,档案页保存后也清星盘和星历缓存(BUG-1405)。 F3 编辑框只在点到框外时关闭,内边距不再丢掉未保存内容(BUG-1406)。 Co-Authored-By: Grok (agent loop) Co-authored-by: Cursor <cursoragent@cursor.com>
9 lines
377 B
TypeScript
9 lines
377 B
TypeScript
import type { Profile } from "./home-types.ts";
|
|
|
|
/** Someone else's reported birth time is already on file and must not be edited. */
|
|
export function reportedTimeStored(profile: Profile): boolean {
|
|
return profile.reportedTime.trim() !== ""
|
|
|| profile.declaredWindowStart.trim() !== ""
|
|
|| (profile.birthTimeSource === "legacy_import" && profile.time.trim() !== "");
|
|
}
|