require 'date' so that the gem does not depend on Ruby on Rails!