Good you have only given 20 days. Stop everything and start finding a job. Dont think about pursuing legally for your scenario, you’ll end up wasting time and resources.
Ask the Hr to give everything in writing, so that when you are interviewing for a different company you dont miscommunicate about your current employer. Best of luck.