Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pédagogies Multimodales
Phonographe
Commits
d97d4814
Commit
d97d4814
authored
Mar 30, 2021
by
Sylvain Coulange
Browse files
passage à timezone CEST
parent
b2fd015d
Changes
2
Hide whitespace changes
Inline
Side-by-side
clavierPhono/settings.py
View file @
d97d4814
...
...
@@ -134,7 +134,7 @@ AUTH_PASSWORD_VALIDATORS = [
LANGUAGE_CODE
=
'en-us'
TIME_ZONE
=
'
UTC
'
TIME_ZONE
=
'
Europe/Paris
'
USE_I18N
=
True
...
...
users/views.py
View file @
d97d4814
...
...
@@ -292,7 +292,7 @@ def userInfo(request, username):
lastTrace
=
traces
[
nbTraces
-
1
].
date
if
nbTraces
>
0
else
0
daylist
=
np
.
arange
(
'2021-02-15'
,
np
.
datetime64
(
'today'
,
'D'
)
+
np
.
timedelta64
(
1
,
'D'
),
dtype
=
'datetime64[D]'
)
print
(
daylist
)
day2traces
=
{}
# Initialisation liste vide
for
day
in
daylist
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment