Generates format string for
strftime from date string.
gem install date_molder
DateMolder.build_format("May 12, 2012, 07:34PM +0300") #=> "%B %e, %Y, %I:%M%p %z"
DateMolder heavily relies on
It means that
DateMolder can generate format for every string that is correctly parsed by those methods.
See Stamp gem that serves similar purpose. However
DateMolder has several benefits:
- parses strings like '9pm'
- supports time zones