Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Odevzdávací Systém MO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Mareš
Odevzdávací Systém MO
Commits
06369dc4
Commit
06369dc4
authored
4 years ago
by
Jiří Setnička
Browse files
Options
Downloads
Patches
Plain Diff
Round edit: Fix MODateTimeField
parent
fce4dd0f
No related branches found
No related tags found
1 merge request
!48
Dělená kola napotřetí
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
mo/web/org_round.py
+1
-1
1 addition, 1 deletion
mo/web/org_round.py
with
1 addition
and
1 deletion
mo/web/org_round.py
+
1
−
1
View file @
06369dc4
...
@@ -351,7 +351,7 @@ class MODateTimeField(wtforms.DateTimeField):
...
@@ -351,7 +351,7 @@ class MODateTimeField(wtforms.DateTimeField):
super
().
__init__
(
label
,
format
=
format
,
description
=
description
,
**
kwargs
)
super
().
__init__
(
label
,
format
=
format
,
description
=
description
,
**
kwargs
)
def
process_data
(
self
,
valuelist
):
def
process_data
(
self
,
valuelist
):
super
().
process_
form
data
(
valuelist
)
super
().
process_data
(
valuelist
)
if
self
.
data
is
not
None
:
if
self
.
data
is
not
None
:
self
.
data
=
self
.
data
.
astimezone
()
self
.
data
=
self
.
data
.
astimezone
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment