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.86.0 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.85.11 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.85.10 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.85.9 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.85.8 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.85.7 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.85.6 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.85.5 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.85.4 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.85.3 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.85.2 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.85.1 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.83.0 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.81.1 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.81.0 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.80.0 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.79.0 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.78.0 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.77.2 test/worksheet/test_convert_date_time_04.rb
write_xlsx-0.77.1 test/worksheet/test_convert_date_time_04.rb