New foal birth date

One of our broodmares, Stormchaser,

died this morning. She was in foal, with the foal due on April 2nd.

The foal was “born” this morning, but, when you look at it using the old app, it shows his DOB as today,

When you look at his DOB using the new app, it shows his DOB as April 7th.

We lost two other mares towards the end of last year and they both “foaled” on the day they died. Both of them show their DOB as the date their mother died using the old app, but their original Due Date using the new app:-
Paschal Candle (DOB using old app October 10, 2029, using the new app 2026-03-06)
I Am MacNamara (DOB using old app December 5, 2029, using the new app 2026-04-18)

Interesting. When the mare is due to die early, there is a chance the foal dies with her. I think the logic is meant to be that she can foal a month-ish early, but not more than that.

So, arguably, all 3 of those foals should have been stillborn, as I don’t think 7-8mos of gestation is enough to be viable.

Hopefully this bit of code will be migrated soon, and then I can fix the logic.