From 7a35be2dcbde2a078de080a2738970bfd0e91e92 Mon Sep 17 00:00:00 2001 From: "Kian-Meng, Ang" Date: Tue, 19 Oct 2021 23:03:22 +0800 Subject: [PATCH] Fix typos --- example.exs | 2 +- lib/elixlsx/util.ex | 2 +- lib/elixlsx/xml_templates.ex | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/example.exs b/example.exs index 15ee23f..809866a 100755 --- a/example.exs +++ b/example.exs @@ -19,7 +19,7 @@ sheet1 = # the datetime: true parameter automatically applies conversion to Excels internal format. |> Sheet.set_cell("A2", {{2015, 11, 30}, {21, 20, 38}}, datetime: true) |> Sheet.set_cell("A3", 1_448_882_362, datetime: true) - # datetime: true ouputs date and time, yyyymmdd limits the output to just the date + # datetime: true outputs date and time, yyyymmdd limits the output to just the date |> Sheet.set_cell("A4", 1_448_882_362, yyyymmdd: true) # make some room in the first column, otherwise the date will only show up as ### |> Sheet.set_col_width("A", 18.0) diff --git a/lib/elixlsx/util.ex b/lib/elixlsx/util.ex index 1d97e88..a2a73be 100644 --- a/lib/elixlsx/util.ex +++ b/lib/elixlsx/util.ex @@ -224,7 +224,7 @@ defmodule Elixlsx.Util do {:excelts, value} end - # Formula's value calculate on opening excel programm. + # Formula's value calculate on opening excel program. # We don't need to format this here. @spec to_excel_datetime({:formula, String.t()}) :: {:formula, String.t()} def to_excel_datetime({:formula, value}) do diff --git a/lib/elixlsx/xml_templates.ex b/lib/elixlsx/xml_templates.ex index e9ea6c0..cd49b10 100644 --- a/lib/elixlsx/xml_templates.ex +++ b/lib/elixlsx/xml_templates.ex @@ -671,7 +671,7 @@ defmodule Elixlsx.XMLTemplates do end end - # Creates an aligment xml tag from font style. + # Creates an alignment xml tag from font style. @spec make_style_alignment(Font.t()) :: String.t() defp make_style_alignment(font) do attrs =