mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-25 06:38:13 -05:00
Increase the time resolution of the SIMEVENTS format and replace whole-day integer offsets with Go-style duration literals. - All DATE values are now datetimes with second resolution. A date-only literal means midnight; a time-of-day requires the 'T' separator and fractional seconds are rounded to the nearest second. - DURATION values and offset terms are Go-style literals such as 5d, 12h30m, 1.5h, 3mon and -3d. Units (mon, d, h, m, s) are mandatory, must appear in strictly descending order without repeats, and a fraction is allowed only on the last component (never on mon or s). Unitless numbers and the legacy DAYS suffix are rejected with hints. - New Duration type keeps calendar months separate from the fixed timedelta part; adding months clamps to the end of shorter months, and str() renders the Go-style form. - Header version bumped to 1.1; 1.0 files are rejected with a migration hint. - Update tests, sample .events file, example script and docs/simulatorEvents.md.