Skip to content

Commit

Permalink
adding octet unit
Browse files Browse the repository at this point in the history
  • Loading branch information
gcmalloc authored and sharkdp committed Jun 29, 2017
1 parent 5ea8f42 commit d56ce96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ Reference
| [Bel](https://en.wikipedia.org/wiki/Decibel) | `bel` |
| [Bits per second](https://en.wikipedia.org/wiki/Data_rate_units) | `bps` |
| [Bit](https://en.wikipedia.org/wiki/Bit) | `bits`, `bit` |
| [Byte](https://en.wikipedia.org/wiki/Byte) | `Bytes`, `bytes`, `Byte`, `byte`, `B` |
| [Byte](https://en.wikipedia.org/wiki/Byte) | `Bytes`, `bytes`, `Byte`, `byte`, `B`, `Octets`, `octets`, `Octet`, `octet`|
| [Calorie](https://en.wikipedia.org/wiki/Calorie) | `calories`, `calorie`, `cal` |
| [Candela](https://en.wikipedia.org/wiki/Candela) | `candela`, `cd` |
| [Coulomb](https://en.wikipedia.org/wiki/Coulomb) | `coulomb`, `C` |
Expand Down
2 changes: 1 addition & 1 deletion src/Insect/Parser.purs
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ normalUnitDict = Dictionary
, Q.candela ==> ["candela", "cd"]
, Q.watt <> Q.hour ==> ["Wh"]
, Q.watt ==> ["watts", "watt", "W"]
, Q.byte ==> ["Bytes", "bytes", "Byte", "byte", "B"]
, Q.byte ==> ["Bytes", "bytes", "Byte", "byte", "B", "Octets", "octets", "Octet", "octet"]
, Q.bit ==> ["bits", "bit"]
, Q.bit ./ Q.second ==> ["bps"]
, Q.second ==> ["seconds", "second", "sec", "s"]
Expand Down

0 comments on commit d56ce96

Please sign in to comment.