17 lines
320 B
Ruby
Raw Normal View History

# typed: strong
# frozen_string_literal: true
require "time"
require "utils/output"
2023-02-07 00:38:46 +00:00
class Time
include Utils::Output::Mixin
2023-02-07 00:38:46 +00:00
# Backwards compatibility for formulae that used this ActiveSupport extension
sig { returns(String) }
def rfc3339
odisabled "Time#rfc3339", "Time#xmlschema"
xmlschema
end
2023-02-07 00:38:46 +00:00
end