Angular 2 Calendar

Hi,
I am using this calendar plugin https://github.com/mattlewis92/angular-calendar which works perfectly on Android platform. While looking for the examples, I found that this plugin works on both platforms. However for iOS platform I am getting this error I am not able to figure out. Any help regarding this is appreciated.
Thanks

[Error] EXCEPTION: Error in ./CalendarMonthViewComponent class CalendarMonthViewComponent - inline template:3:67 caused by: Invalid regular expression: unmatched parentheses
	handleError (main.js:93805)
	next (main.js:63231:94)
	(anonymous function) (main.js:65287)
	__tryOrUnsub (main.js:18365)
	next (main.js:18314)
	_next (main.js:18267)
	next (main.js:18231)
	next (main.js:18031)
	emit (main.js:65273)
	triggerError (main.js:47029)
	onHandleError (main.js:46990)
	handleError (polyfills.js:3:9767)
	runTask (polyfills.js:3:7703)
	invoke (polyfills.js:3:11405)
	dispatchEvent
	handleTapPolyfill (main.js:122001)
	pointerEnd (main.js:121887)
	(anonymous function)
	handleTouchEnd (main.js:186498)
	(anonymous function)
[Error] ORIGINAL EXCEPTION: Invalid regular expression: unmatched parentheses
	handleError (main.js:93807)
	next (main.js:63231:94)
	(anonymous function) (main.js:65287)
	__tryOrUnsub (main.js:18365)
	next (main.js:18314)
	_next (main.js:18267)
	next (main.js:18231)
	next (main.js:18031)
	emit (main.js:65273)
	triggerError (main.js:47029)
	onHandleError (main.js:46990)
	handleError (polyfills.js:3:9767)
	runTask (polyfills.js:3:7703)
	invoke (polyfills.js:3:11405)
	dispatchEvent
	handleTapPolyfill (main.js:122001)
	pointerEnd (main.js:121887)
	(anonymous function)
	handleTouchEnd (main.js:186498)
	(anonymous function)

Solved the issue…!!

Care to share the solution with us so someone else can benefit from your answer to in the future? :slight_smile:

Well, technically I did not do anything, all the way along it was the issue for ‘intl’ library. I was using safari dev tools for debugging, so apparently intl library is not compatible for safari browser. Also the calendar library is working perfectly on both platforms.If you are facing similar issue then you then you must use intl 1.2.4 library . Well seriously I know it sounds as if this is not the solution. But this thing worked for me.

1 Like