What a stupid thing to do yesterday. Completely and totally politically incorrect. Talk to any serious career business professional and they’ll tell you to never let your employer know in advance of you leaving, especially if you’ve been a long-term (older) employee.
Why? The answer(s) tomorrow….