📦 Initialize Geulbeot structure and merge Prompts & test projects

This commit is contained in:
2026-03-05 11:32:29 +09:00
commit 555a954458
687 changed files with 205247 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
def format_date(date_str, source):
try:
if source in ["국토일보", "한건신문"]:
# 기자 이름과 함께 있는 날짜 형식 처리
date_obj = re.search(r'\d{4}-\d{2}-\d{2}', date_str)
if date_obj:
return date_obj.group(0)
elif source in ["엔지니어링데일리", "건설이코노미뉴스", "공학저널"]:
# 기자 이름과 함께 있는 날짜 형식 처리
date_obj = re.search(r'\d{4}-\d{2}-\d{2}', date_str)
if date_obj:
return date_obj.group(0)
elif source == "연합