You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Statusline on Linux: memory line stuck on "JUST NOW" because last-review age is parsed with BSD-only date -j #2260
On Linux the statusline's 🧠 memory line never shows the real age of the last memory review. After any review that wrote something, it stays stuck on SAVED N NEW MEMORIES JUST NOW until a health warning replaces it.
Cause
LifeOS/install/LIFEOS/LIFEOS_StatusLine.sh:1879 parses last_review_at with BSD-only flags:
GNU date rejects -j (date: invalid option -- 'j'), the fallback returns $NOW_EPOCH, the age becomes 0, and the -le 30 branch at :1929 keeps printing "JUST NOW".
The script already has a portable parser, parse_iso_epoch() at :224, which switches on DATE_FLAVOR; this line just doesn't use it.
Thanks @drpaulobernardy, and for the before/after output. The memory line itself has since been removed from the statusline (memory status moved off it entirely), so the BSD-only date -j parse went with it. The remaining timestamp parsing in LIFEOS_StatusLine.sh goes through the GNU/BSD switch you pointed to. Next release carries it.
Activity
danielmiessler commentedon Oct 3, 2026
Thanks @drpaulobernardy, and for the before/after output. The memory line itself has since been removed from the statusline (memory status moved off it entirely), so the BSD-only
date -jparse went with it. The remaining timestamp parsing inLIFEOS_StatusLine.shgoes through the GNU/BSD switch you pointed to. Next release carries it.