MCPcopy Index your code
hub / github.com/messageformat/messageformat / dropBiDi

Function dropBiDi

test/formatters.js:8–10  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

6
7// MS Edge adds LTR/RTL marks around Date#toLocale*String parts
8function dropBiDi(str) {
9 return str.replace(/[\u200e\u200f]/g, '');
10}
11
12describe('Formatters', function () {
13 describe('date', function () {

Callers 1

formatters.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected