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

Attachment: signature.asc
Description: PGP signature

Reply via email to