-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Description
- I have searched the issues of this repository and believe that this is not a duplicate.
Version
1.4.10
Environment
VueAntDesign:Countdown
Reproduction link
Steps to reproduce
According to Momentjs escape syntax all we need is brackets to make a escaped string ' [escaped]'
When I'm trying to escaping the word "escapedstring", the result is unexpected
<a-statistic-countdown :value="moment().add(3,'days')" format="D [escapedstring] H [escapedstring] m [escapedstring] s" />
This component render like this
2 [e5caped5tring] 23 [e5caped5tring] 57 [e5caped5tring] 5
What is expected?
2 [escapedstring] 23 [escapedstring] 57 [escapedstring] 5
What is actually happening?
Can't escape a string in format prop