alert date condensed if too long