Skip to content
Snippets Groups Projects
Unverified Commit 8597b0a3 authored by shall0pass's avatar shall0pass Committed by GitHub
Browse files

Use single decimal places to define targets (#891)

parent 15e9c040
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ upTo = 'up'i _ 'to'i
_ 'space' = ' '+
d 'digit' = [0-9]
number 'number' = $(d+)
amount 'amount' = currencySymbol? _? amount: $(d+ ('.' d d)?) { return +amount }
amount 'amount' = currencySymbol? _? amount: $(d+ ('.' (d d?)?)?) { return +amount }
percent 'percentage' = percent: $(d+) _? '%' { return +percent }
year 'year' = $(d d d d)
month 'month' = $(year '-' d d)
......
---
category: Enhancements
authors: [shall0pass]
---
Goal template can now use single decimal places to define targets
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment