From my own experience it lasts indefinitely when cast on equipped weapons, but only 20 turns when cast on objects.