Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
402d50bb
Commit
402d50bb
authored
Aug 02, 2013
by
Adam Palay
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tz fix in openendedchild
parent
4d5727a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
common/lib/xmodule/xmodule/open_ended_grading_classes/openendedchild.py
+2
-2
No files found.
common/lib/xmodule/xmodule/open_ended_grading_classes/openendedchild.py
View file @
402d50bb
...
...
@@ -11,7 +11,7 @@ from .peer_grading_service import PeerGradingService, MockPeerGradingService
import
controller_query_service
from
datetime
import
datetime
from
django.utils.timezone
import
UTC
from
pytz
import
UTC
log
=
logging
.
getLogger
(
"mitx.courseware"
)
...
...
@@ -126,7 +126,7 @@ class OpenEndedChild(object):
pass
def
closed
(
self
):
if
self
.
close_date
is
not
None
and
datetime
.
now
(
UTC
()
)
>
self
.
close_date
:
if
self
.
close_date
is
not
None
and
datetime
.
now
(
UTC
)
>
self
.
close_date
:
return
True
return
False
...
...
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