Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve #303: 創作展の日付設定の更新 #305

Merged
merged 1 commit into from
Feb 7, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions api/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ class BaseConfig(object):
RECAPTCHA_THRESHOLD = 0.09 # more than 0.09
TIMEZONE = timezone(timedelta(hours=+9), 'JST')
# Don't forget to update START/END DATETIME every year
START_DATETIME = datetime(2019, 9, 15, 8, 40, 0, tzinfo=TIMEZONE)
END_DATETIME = datetime(2019, 9, 16, 16, 00, 0, tzinfo=TIMEZONE)
START_DATETIME = datetime(2020, 9, 20, 8, 40, 0, tzinfo=TIMEZONE)
END_DATETIME = datetime(2020, 9, 21, 16, 00, 0, tzinfo=TIMEZONE)
DRAWING_TIME_EXTENSION = timedelta(minutes=30)
TIMEPOINT_END_MARGIN = timedelta(minutes=1)
TIMEPOINTS = [
Expand All @@ -45,8 +45,8 @@ class DevelopmentConfig(BaseConfig):
ID_LIST_FILE = BaseConfig.ROOT_DIR / 'cards/test_users.json'
# Don't forget to update START/END DATETIME every year
# Update BaseConfig too
START_DATETIME = datetime(2018, 9, 17, 0, 0, 0, tzinfo=BaseConfig.TIMEZONE)
END_DATETIME = datetime(2019, 9, 16, 23, 59, 59,
START_DATETIME = datetime(2019, 9, 17, 0, 0, 0, tzinfo=BaseConfig.TIMEZONE)
END_DATETIME = datetime(2020, 9, 21, 23, 59, 59,
tzinfo=BaseConfig.TIMEZONE)
TIMEPOINTS = [
# applications are accepted in these durations and TIMEPOINT_END_MARGIN
Expand Down