Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
concrexit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
thalia
concrexit
Merge requests
!186
Fix canceldate not being migrated correctly
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix canceldate not being migrated correctly
fix/migrate_events_cancel
into
master
Overview
0
Commits
2
Changes
3
Merged
Ghost User
requested to merge
fix/migrate_events_cancel
into
master
8 years ago
Overview
0
Commits
2
Changes
3
Expand
Closes
#178 (closed)
0
0
Merge request reports
Compare
master
version 1
b4eb7526
8 years ago
master (base)
and
latest version
latest version
f2794ce5
2 commits,
8 years ago
version 1
b4eb7526
1 commit,
8 years ago
3 files
+
24
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
website/events/management/commands/migrateevents.py
+
1
−
1
Options
@@ -176,7 +176,7 @@ class Command(BaseCommand):
cancelled_date
=
registration_data
[
'
canceled
'
]
if
cancelled_date
:
new_registration
.
cancelled
_date
=
naive_to_aware
(
new_registration
.
date_
cancelled
=
naive_to_aware
(
cancelled_date
)
new_registration
.
save
()
Loading