fix(avastha): keep simultaneous conditions and use the PVR activity formula
Upstream e628118d, 7d545039, f75a6e77, and ac565836. Dignity follows the sign, Deeptadi keeps every condition that applies, and Shayanadi hours come from the previous Hindu sunrise. BUG-1389. Co-Authored-By: Grok (agent loop) Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Grok (agent loop)
Cursor
parent
0bd254cf18
commit
83c97a8976
@@ -1442,6 +1442,9 @@ def render_pl9_parity_markdown(packet: dict) -> str:
|
||||
continue
|
||||
def _state(name: str) -> str:
|
||||
state = _dict(states.get(name))
|
||||
applicable = state.get('applicable_states') if name == 'Deeptadi' else None
|
||||
if isinstance(applicable, list) and applicable:
|
||||
return _cell('、'.join(str(item) for item in applicable))
|
||||
return _cell(state.get('state'))
|
||||
lines.append(
|
||||
f"| {_cell(_token(planet))} | {_state('Bala')} | {_state('Jagrat')} | {_state('Deeptadi')} | "
|
||||
|
||||
Reference in New Issue
Block a user