Open jason-p-pickering opened 7 years ago
Probably a small fix i adding 'persian' to line 17 (in CalenderManager.js): t.calendarIds = ['coptic', 'ethiopian', 'islamic', 'julian', 'nepali', 'thai'];
Have not been able to test locally yet. Can't link the packages as I'm used to. Probably a little more complex build process ;)
I made a local changed to d2-analysis, and then copied over the result to node_modules for local testing.
Do you build it or anything like that
On May 23, 2017 12:17 PM, "Jason Pickering" notifications@github.com wrote:
I made a local changed to d2-analysis, and then copied over the result to node_modules for local testing.
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/jason-p-pickering/dhis2-persian-calendar/issues/5#issuecomment-303355133, or mute the thread https://github.com/notifications/unsubscribe-auth/ACXdAz12hqGHYK2FumuyQX6rDEuQMlFMks5r8rIbgaJpZM4NjXTF .
nope. Just copied over the source from d2-analysis to node_modules/d2-analysis
OK - got to work when linked in with "npm link ../d2-analysis". Saw also the months on English, Then I throw the d2-analysis and pivot app away to redo everything clean but now I dont get i to wor. Someone update d2-analysis an hour ago or so... But this will probably work wit above fix. (English month is another issue of cours)
https://github.com/dhis2/d2-analysis/blob/master/src/manager/CalendarManager.js#L40
would seem to control where the Persian calendar is obtained from, but it does not seem to work properly.