We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb2b8a7 commit b1da496Copy full SHA for b1da496
src/utils/css-time-to-ms.ts
@@ -1,5 +1,5 @@
1
const cssTimeToMs = (time: string): number => {
2
- const match = time.match(/^([\d.]+)(ms|s)$/)
+ const match = time.match(/^([\d.]+)(m?s)$/)
3
if (!match) {
4
return 0
5
}
0 commit comments