summaryrefslogtreecommitdiffhomepage
path: root/lib/axlsx/workbook/worksheet/date_time_converter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/axlsx/workbook/worksheet/date_time_converter.rb')
-rw-r--r--lib/axlsx/workbook/worksheet/date_time_converter.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/axlsx/workbook/worksheet/date_time_converter.rb b/lib/axlsx/workbook/worksheet/date_time_converter.rb
index ffa2831a..e34ef055 100644
--- a/lib/axlsx/workbook/worksheet/date_time_converter.rb
+++ b/lib/axlsx/workbook/worksheet/date_time_converter.rb
@@ -3,9 +3,9 @@
require "date"
module Axlsx
- # The DateTimeConverter class converts both data and time types to their apprpriate excel serializations
+ # The DateTimeConverter class converts both data and time types to their apprpriate Excel serializations
class DateTimeConverter
- # The date_to_serial method converts Date objects to the equivelant excel serialized forms
+ # The date_to_serial method converts Date objects to the equivelant Excel serialized forms
# @param [Date] date the date to be serialized
# @return [Numeric]
def self.date_to_serial(date)
@@ -14,7 +14,7 @@ module Axlsx
(offset_date - epoch).to_f
end
- # The time_to_serial methond converts a Time object its excel serialized form.
+ # The time_to_serial methond converts a Time object its Excel serialized form.
# @param [Time] time the time to be serialized
# @return [Numeric]
def self.time_to_serial(time)