Allow fractions of a day for expires option.

Closes #246.