Skip to content

Commit

Permalink
Merge pull request #49 from mltnhm/master
Browse files Browse the repository at this point in the history
Add option for a format with AM/PM but no seconds
  • Loading branch information
sylvanaar authored May 2, 2020
2 parents 6f1b71f + ad6f08b commit 26d20bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/Timestamps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ Prat:AddModuleToLoad(function()
["HH:MM:SS AM (12-hour)"] = true,
["HH:MM:SS (12-hour)"] = true,
["HH:MM:SS (24-hour)"] = true,
["HH:MM AM (12-hour)"] = true,
["HH:MM (12-hour)"] = true,
["HH:MM (24-hour)"] = true,
["MM:SS"] = true,
Expand Down Expand Up @@ -138,6 +139,7 @@ Prat:AddModuleToLoad(function()
["%I:%M:%S %p"] = PL["HH:MM:SS AM (12-hour)"],
["%I:%M:%S"] = PL["HH:MM:SS (12-hour)"],
["%X"] = PL["HH:MM:SS (24-hour)"],
["%I:%M %p"] = PL["HH:MM AM (12-hour)"],
["%I:%M"] = PL["HH:MM (12-hour)"],
["%H:%M"] = PL["HH:MM (24-hour)"],
["%M:%S"] = PL["MM:SS"],
Expand Down

0 comments on commit 26d20bc

Please sign in to comment.