Commit ff3fc89
committed
fix(tags,stash): use epoch timestamp fallback to indicate data corruption
- Replace Utc::now() fallback with Unix epoch (1970-01-01) for invalid timestamps
- Make data corruption obvious instead of silently masking with current time
- Add test verification for epoch fallback behavior
- Ensure consistent error handling pattern across both modules1 parent ef84c86 commit ff3fc89
2 files changed
+18
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
500 | 500 | | |
501 | 501 | | |
502 | 502 | | |
| 503 | + | |
503 | 504 | | |
504 | 505 | | |
505 | | - | |
506 | | - | |
| 506 | + | |
| 507 | + | |
507 | 508 | | |
508 | 509 | | |
509 | 510 | | |
| |||
865 | 866 | | |
866 | 867 | | |
867 | 868 | | |
868 | | - | |
869 | | - | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
870 | 873 | | |
871 | 874 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
| 426 | + | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
430 | | - | |
| 429 | + | |
| 430 | + | |
431 | 431 | | |
432 | 432 | | |
433 | 433 | | |
| |||
791 | 791 | | |
792 | 792 | | |
793 | 793 | | |
794 | | - | |
795 | | - | |
| 794 | + | |
796 | 795 | | |
797 | 796 | | |
798 | 797 | | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
799 | 805 | | |
800 | 806 | | |
0 commit comments