Skip to content

Commit

Permalink
Merge pull request xou#120 from kianmeng/fix-typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
xou committed Mar 30, 2022
2 parents df23528 + 7a35be2 commit ca206a4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion example.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lib/elixlsx/util.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/elixlsx/xml_templates.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit ca206a4

Please sign in to comment.