Browse Source

On intègre également la librairie luxon.js (la remplaçante de moment.js) afin de faciliter les calculs de dates.

Notamment on va s'en servir pour gérer des dates "par semaine" tel que "2021-W03" que les Dates natives de javascript ne savent pas traiter.
pull/4/head
Matthieu Marcillaud 2 years ago
parent
commit
01936a7007
  1. 8441
      lib/luxon/luxon.js
  2. 1
      lib/luxon/luxon.min.js
  3. 1
      prive/stats/visites.html

8441
lib/luxon/luxon.js

File diff suppressed because it is too large Load Diff

1
lib/luxon/luxon.min.js vendored

File diff suppressed because one or more lines are too long

1
prive/stats/visites.html

@ -2,6 +2,7 @@
[<link rel="stylesheet" type="text/css" href="(#CHEMIN{css/spip_d3_graph.css})" />]
[<link rel="stylesheet" type="text/css" href="(#CHEMIN{css/spip_d3_statistiques.css})" />]
[<script type="text/javascript" src="(#CHEMIN{lib/luxon/luxon.min.js})"></script>]
[<script type="text/javascript" src="(#CHEMIN{lib/d3/d3.min.js})"></script>]
[<script type="text/javascript" src="(#CHEMIN{javascript/spip_d3_graph.js})"></script>]
[<script type="text/javascript" src="(#CHEMIN{javascript/spip_d3_statistiques.js})"></script>]

Loading…
Cancel
Save