Sha256: 2f74807ce234dd13e1ff59fde6e581d2b8a6a9010e8323c0f79c0f92d0e37125

Contents?: true

Size: 816 Bytes

Versions: 15

Compression:

Stored size: 816 Bytes

Contents

# -*- coding: utf-8 -*-
require 'helper'

class TestRegressionDate1904_01 < Minitest::Test
  def setup
    setup_dir_var
  end

  def teardown
    @tempfile.close(true)
  end

  def test_date_1904_01
    @xlsx = 'date_1904_01.xlsx'
    workbook    = WriteXLSX.new(@io)
    worksheet   = workbook.add_worksheet
    format      = workbook.add_format(:num_format => 14)

    worksheet.set_column('A:A', 12)

    worksheet.write_date_time('A1', '1900-01-01T', format)
    worksheet.write_date_time('A2', '1902-09-26T', format)
    worksheet.write_date_time('A3', '1913-09-08T', format)
    worksheet.write_date_time('A4', '1927-05-18T', format)
    worksheet.write_date_time('A5', '2173-10-14T', format)
    worksheet.write_date_time('A6', '4637-11-26T', format)

    workbook.close
    compare_for_regression
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
write_xlsx-1.09.4 test/regression/test_date_1904_01.rb
write_xlsx-1.09.3 test/regression/test_date_1904_01.rb
write_xlsx-1.09.2 test/regression/test_date_1904_01.rb
write_xlsx-1.09.1 test/regression/test_date_1904_01.rb
write_xlsx-1.09.0 test/regression/test_date_1904_01.rb
write_xlsx-1.08.2 test/regression/test_date_1904_01.rb
write_xlsx-1.08.1 test/regression/test_date_1904_01.rb
write_xlsx-1.08.0 test/regression/test_date_1904_01.rb
write_xlsx-1.07.0 test/regression/test_date_1904_01.rb
write_xlsx-1.04.0 test/regression/test_date_1904_01.rb
write_xlsx-1.02.0 test/regression/test_date_1904_01.rb
write_xlsx-1.01.0 test/regression/test_date_1904_01.rb
write_xlsx-1.00.0 test/regression/test_date_1904_01.rb
write_xlsx-0.99.0 test/regression/test_date_1904_01.rb
write_xlsx-0.97.0 test/regression/test_date_1904_01.rb