Fix broken test for "date +%s" support.

On Solaris, using +%s is not supported, but doesn't produce an error
code either, so base the check on whether "%s" is still in the string
afterwards.