Properly convert JS time to Ripple time in OfferCreate transactions