Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #120

Merged
merged 1 commit into from
Mar 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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