Fix class name 9e
This commit is contained in:
@ -250,15 +250,10 @@ class EntryCSVProcessor:
|
||||
event.end_datetime = timezone.make_aware(datetime(2025, 1, 25, 17, 0))
|
||||
event.save()
|
||||
|
||||
entry_date = self.date_converter.convert_date(row['entry_date'])
|
||||
entry_datetime = timezone.make_aware(datetime.combine(entry_date, datetime.min.time()))
|
||||
|
||||
# 日付が必要な場合のフォールバック
|
||||
entry_date = self.date_converter.convert_date(row['entry_date'])
|
||||
if entry_date:
|
||||
entry_date = timezone.make_aware(
|
||||
datetime.combine(entry_date, datetime.min.time())
|
||||
)
|
||||
entry_date = entry_date.replace(hour=9, minute=0)
|
||||
else:
|
||||
entry_date = event.start_datetime
|
||||
|
||||
|
||||
Reference in New Issue
Block a user