abstract expiration date text to a helper since it could be null