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
Duplicate parseTimestamp() logic across commands #25
Both SpotCommand and PerpsCommand implement similar but inconsistent parseTimestamp() methods. Spot converts to ISO format (new Date(ms).toISOString()), while Perps converts to Unix seconds. This duplication makes maintenance harder and creates risk of subtle bugs if timestamp handling needs to change.
Expected behavior:
Single shared implementation in src/lib/
Both commands use the same function
Consistent timestamp handling across all commands
Current behavior:
SpotCommand.parseTimestamp(): lines 930-938(returns ISO string)
Activity