• J
    Add DATE_FORMATS[:inspect] · 2b38bf68
    Jonathan Hefner 提交于
    Follow-up to #39147 and #39168.
    
    By adding a new purpose-specific format, we avoid potential pitfalls
    from concatenating format strings.  We also save a String allocation per
    Time attribute per inspect.
    
    The new format also includes a time zone offset for more introspective
    inspection.
    2b38bf68
conversions.rb 2.7 KB