Skip to content

Commit

Permalink
Merge pull request #209 from nielstron/feat/hrs
Browse files Browse the repository at this point in the history
Add hrs as abbreviation for hour
  • Loading branch information
nielstron committed Jan 16, 2023
2 parents 6672f17 + a927b56 commit 27cf545
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
10 changes: 10 additions & 0 deletions quantulum3/_lang/en_US/tests/quantities.json
Original file line number Diff line number Diff line change
Expand Up @@ -1544,5 +1544,15 @@
"surface": "10"
}
]
},
{
"req": "The shortest day at Archangel has only 3 hrs.",
"res": [
{
"value": 3,
"unit": "hour",
"surface": "3 hrs"
}
]
}
]
5 changes: 3 additions & 2 deletions quantulum3/units.json
Original file line number Diff line number Diff line change
Expand Up @@ -2248,7 +2248,8 @@
"symbols": [
"h",
"hr",
"hs"
"hs",
"hrs"
]
},
"day": {
Expand Down Expand Up @@ -4332,4 +4333,4 @@
"nt"
]
}
}
}

0 comments on commit 27cf545

Please sign in to comment.