Context: I am a junior (~1,5 years experience) credit risk analyst in a big european bank (in which I'm currently employed) wanting to find an entry level position in IT, more specifically in anything that involves a lot of coding in the more popular languages.
I applied to a junior developer role at a Bloomberg-like company on which experience coding isn't required (this fits me since my coding skills stem from a couple of undergraduate courses and what I do in my current position (SAS and SQL)).
As part of the recruitment process, I was given a task in a language I am unfamiliar with. No time limit was given ("get back to us when you've done it"). This happened two weeks ago.
Problem: I am still in the process of familiarizing myself with the language, haven't even began actually tackling the task. Presently (as in the last three days) me and my SO are in the process of breaking up. We have a 1 year old son. I don't have the time, nor is my head in a suitable place to handle the task they gave me.
Questions: Even though no deadline was given, there must be a unspoken, reasonable one. How do I go about dealing with this? Do I ignore that two weeks have passed and continue trying my best even though it will take me some time to actually solve the issue? Do I ask the recruiter if there is a deadline? Do I mention that I'm having some family issues and I'm unable to invest the required time and attention to solve the task at the moment? Any other suggestions?