Therefore it is not Sunday, and A is lying.
Therefore B is telling the truth, and it is Tuesday.
That means A is Tweedledum and B is Tweedledee.