[Pkg-javascript-devel] Bug#969966: libjs-moment-timezone: missing build that includes the timezone data

Antonio Terceiro terceiro at debian.org
Wed Sep 9 13:45:50 BST 2020


Package: libjs-moment-timezone
Version: 0.5.31+dfsg1-1
Severity: important

Dear Maintainer,

moment-timezone upstream provides a build that also contains the timezone
data, and the Debian package is missing that. For example, using the
build provided by the Debian package, it doesn't really work. For
example I am trying it in a Django application, including it like this:

<script type="text/javascript" src="{% static 'js/moment.min.js' %}"></script>
<script type="text/javascript" src="{% static 'js/moment-timezone.min.js' %}"></script>

(js/* are provided in my app static directory as symlinks to the files
provided by the Debian packages)

Then in the JS console, I get this:

> moment.tz.guess()
Moment Timezone found America/Sao_Paulo from the Intl api, but did not
have that data loaded.


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.7.0-2-amd64 (SMP w/4 CPU threads)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE=pt_BR:pt:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libjs-moment-timezone depends on:
ii  libjs-moment  2.27.0+ds-1

Versions of packages libjs-moment-timezone recommends:
ii  javascript-common  11

libjs-moment-timezone suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-javascript-devel/attachments/20200909/49c12d7f/attachment.sig>


More information about the Pkg-javascript-devel mailing list