Skip to content

Commit

Permalink
Merge pull request #9 from thatstoasty/patch-1
Browse files Browse the repository at this point in the history
Update constants.mojo for 24.2 StaticTuple changes
  • Loading branch information
Prodesire authored Apr 3, 2024
2 parents d63b919 + 7292554 commit 2539098
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions morrow/constants.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ alias _DAYS_BEFORE_MONTH = VariadicList[Int](
) # -1 is a placeholder for indexing purposes.


alias MONTH_NAMES = StaticTuple[13](
alias MONTH_NAMES = StaticTuple[StringLiteral, 13](
"",
"January",
"February",
Expand All @@ -28,7 +28,7 @@ alias MONTH_NAMES = StaticTuple[13](
"December",
)

alias MONTH_ABBREVIATIONS = StaticTuple[13](
alias MONTH_ABBREVIATIONS = StaticTuple[StringLiteral, 13](
"",
"Jan",
"Feb",
Expand All @@ -44,7 +44,7 @@ alias MONTH_ABBREVIATIONS = StaticTuple[13](
"Dec",
)

alias DAY_NAMES = StaticTuple[8](
alias DAY_NAMES = StaticTuple[StringLiteral, 8](
"",
"Monday",
"Tuesday",
Expand All @@ -54,6 +54,6 @@ alias DAY_NAMES = StaticTuple[8](
"Saturday",
"Sunday",
)
alias DAY_ABBREVIATIONS = StaticTuple[8](
alias DAY_ABBREVIATIONS = StaticTuple[StringLiteral, 8](
"", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"
)

0 comments on commit 2539098

Please sign in to comment.