Travis build: 1666

This commit is contained in:
30secondsofcode
2019-12-31 09:38:53 +00:00
parent 21b0ab5c65
commit 2344523e5b
15 changed files with 93 additions and 97 deletions

View File

@ -8,7 +8,6 @@ Converts an integer to a suffixed string, adding `am` or `pm` based on its value
Use the modulo operator (`%`) and conditional checks to transform an integer to a stringified 12-hour format with meridiem suffix.
```js
const getMeridiemSuffixOfInteger = num =>
num === 0 || num === 24
? 12 + 'am'