Sha256: ab157d5bcc3ed7a35c819ef60b9017c433ed22ec73eba3a7974080a5ee0f29be

Contents?: true

Size: 503 Bytes

Versions: 35

Compression:

Stored size: 503 Bytes

Contents

# -*- coding: utf-8 -*-
require 'helper'
require 'write_xlsx/workbook'
require 'write_xlsx/worksheet'
require 'stringio'

class TestConvertDateTime04 < Test::Unit::TestCase
  def setup
    @workbook = WriteXLSX.new(StringIO.new)
    @worksheet = @workbook.add_worksheet('')
  end

  def test_convert_date_time_should_not_change_date_time_string
    date_time = ' 2000-01-23T00:00:00.000Z '
    @worksheet.convert_date_time(date_time)

    assert_equal(' 2000-01-23T00:00:00.000Z ', date_time)
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
write_xlsx-0.77.0 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.76.3 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.76.2 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.76.1 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.76.0 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.75.0 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.74.0 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.73.0 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.72.3.beta1 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.72.2 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.72.1 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.72.0 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.71.0 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.70.0 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.69.0 test/worksheet/test_convert_date_time_04.rb