Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4549

Replace moment library

XMLWordPrintable

    • Moodle Apps Sprint 2025-I1.2

      Looking at the bundle analysis of the app, moment seems to be the biggest external dependency. This is not justified given how little we use it in the app; Angular & Ionic should be the biggest dependencies instead. Furthermore, the library was declared legacy in 2020, so we shouldn't be using it.

      One solution would be to replace it with an alternative like dayjs, but this would also be a good opportunity to revisit how we work with dates and consider using native APIs instead.

            pferre22 Pau Ferrer
            noeldemartin Noel De Martin
            Dani Palou Dani Palou
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 4 hours, 15 minutes
                3d 4h 15m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.