Skip to content

Commit

Permalink
Record view / Invalid timezone shift for years outside moment's 10 ye…
Browse files Browse the repository at this point in the history
…ars range.

Use moment-timezone-with-data-1970-2030.min.js version 0.5.43. For catalogues with  metadata containing dates before 1970, consider to use https://momentjs.com/downloads/moment-timezone-with-data.min.js
  • Loading branch information
josegar74 authored and fxprunayre committed Jan 4, 2024
1 parent 3b3180d commit c67946d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<jsSource webappPath="/catalog/lib/modernizr.js" minimize="false"/>
<jsSource webappPath="/catalog/lib/jquery-2.2.4.min.js" minimize="false"/>
<jsSource webappPath="/catalog/lib/moment-with-locales.min.js" minimize="false"/>
<jsSource webappPath="/catalog/lib/moment-timezone-with-data-10-year-range.min.js" minimize="false" />
<jsSource webappPath="/catalog/lib/moment-timezone-with-data-1970-2030.min.js" minimize="false" />
<jsSource webappPath="/catalog/lib/angular/angular.min.js" minimize="false"/>
<jsSource webappPath="/catalog/lib/angular-filter.min.js" minimize="false"/>
<jsSource webappPath="/catalog/lib/angular/angular-resource.min.js" minimize="false"/>
Expand Down Expand Up @@ -106,7 +106,7 @@
<jsSource webappPath="/catalog/lib/modernizr.js" minimize="false"/>
<jsSource webappPath="/catalog/lib/jquery-2.2.4.min.js" minimize="false"/>
<jsSource webappPath="/catalog/lib/moment-with-locales.min.js" minimize="false"/>
<jsSource webappPath="/catalog/lib/moment-timezone-with-data-10-year-range.min.js" minimize="false" />
<jsSource webappPath="/catalog/lib/moment-timezone-with-data-1970-2030.min.js" minimize="false" />
<jsSource webappPath="/catalog/lib/angular/angular.min.js" minimize="false"/>
<jsSource webappPath="/catalog/lib/angular-filter.min.js" minimize="false"/>
<jsSource webappPath="/catalog/lib/angular/angular-resource.min.js" minimize="false"/>
Expand Down

This file was deleted.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion web/src/main/webapp/xslt/base-layout-cssjs-loader.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
<script src="{$uiResourcesPath}lib/jquery-2.2.4.js?v={$buildNumber}"></script>

<script src="{$uiResourcesPath}lib/moment-with-locales.min.js?v={$buildNumber}"></script>
<script src="{$uiResourcesPath}lib/moment-timezone-with-data-10-year-range.min.js?v={$buildNumber}"></script>
<script src="{$uiResourcesPath}lib/moment-timezone-with-data-1970-2030.min.js?v={$buildNumber}"></script>
<script src="{$uiResourcesPath}lib/franc-min/franc-min.js?v={$buildNumber}"></script>

<script src="{$uiResourcesPath}lib/angular/angular.js?v={$buildNumber}"></script>
Expand Down

0 comments on commit c67946d

Please sign in to comment.