Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Added :soap format to Time.to_formatted_s

#1697

When creating SOAP messages the recommended format to maximize interoperability is to use UTC time zone and include fractions of a second. This patch adds a :soap format to Time::DATE_FORMATS to allow the following:


time_with_microseconds.to_s(:soap) #=> "2005-02-21T17:44:30.582Z"

The Z at the end indicates UTC time.

Reported by Erik Lindblad · January 5th, 2009 @ 03:04 PM

State: wontfix
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Geoff Buesing
    Geoff Buesing
    • State changed from new to wontfix

    Easy enough to add custom formats in your app, so no need to add a specific format like this into core.

    January 7th, 2009 @ 06:34 AM