diff --git a/app/templates/base.j2 b/app/templates/base.j2 index 1be73c172..e4c796dfc 100644 --- a/app/templates/base.j2 +++ b/app/templates/base.j2 @@ -83,7 +83,7 @@ {% block scripts %} {{ super() }} -{{ moment.include_moment() }} +{{ moment.include_moment( local_js=scu.STATIC_DIR+"/libjs/moment.min.js") }} {{ moment.lang(g.locale) }} diff --git a/app/templates/sco_page.j2 b/app/templates/sco_page.j2 index cb3ec8b2f..b097aa8b9 100644 --- a/app/templates/sco_page.j2 +++ b/app/templates/sco_page.j2 @@ -39,7 +39,7 @@ {% block scripts %} {{ super() }} -{{ moment.include_moment() }} +{{ moment.include_moment( local_js=scu.STATIC_DIR+"/libjs/moment.min.js") }} {{ moment.lang(g.locale) }}