Álvaro Valenzuela Valdes commited on
Commit
2d2e7a1
·
1 Parent(s): 3a20815

fix: Correct datetime format for SQLite seeding

Browse files
Files changed (1) hide show
  1. backend/app/main.py +4 -4
backend/app/main.py CHANGED
@@ -62,7 +62,7 @@ async def startup_event():
62
  description="Large scale ERP for hospital network.",
63
  buyer="Servicio de Salud",
64
  status="Publicada",
65
- closing_date=(datetime.now() + timedelta(days=15)).strftime("%Y-%m-%d"),
66
  estimated_amount=450000000,
67
  region="Metropolitana",
68
  sector="Software",
@@ -74,7 +74,7 @@ async def startup_event():
74
  description="Machine learning and predictive models.",
75
  buyer="Subsecretaría de Prevención del Delito",
76
  status="Publicada",
77
- closing_date=(datetime.now() + timedelta(days=10)).strftime("%Y-%m-%d"),
78
  estimated_amount=180000000,
79
  region="Nacional",
80
  sector="AI & Software",
@@ -86,7 +86,7 @@ async def startup_event():
86
  description="24/7 monitoring and incident response.",
87
  buyer="Ministerio del Interior",
88
  status="Publicada",
89
- closing_date=(datetime.now() + timedelta(days=5)).strftime("%Y-%m-%d"),
90
  estimated_amount=320000000,
91
  region="Metropolitana",
92
  sector="Cybersecurity",
@@ -98,7 +98,7 @@ async def startup_event():
98
  description="Migration of legacy systems to AWS/Azure.",
99
  buyer="Tesorería General",
100
  status="Publicada",
101
- closing_date=(datetime.now() + timedelta(days=25)).strftime("%Y-%m-%d"),
102
  estimated_amount=120000000,
103
  region="Valparaíso",
104
  sector="Cloud",
 
62
  description="Large scale ERP for hospital network.",
63
  buyer="Servicio de Salud",
64
  status="Publicada",
65
+ closing_date=datetime.now() + timedelta(days=15),
66
  estimated_amount=450000000,
67
  region="Metropolitana",
68
  sector="Software",
 
74
  description="Machine learning and predictive models.",
75
  buyer="Subsecretaría de Prevención del Delito",
76
  status="Publicada",
77
+ closing_date=datetime.now() + timedelta(days=10),
78
  estimated_amount=180000000,
79
  region="Nacional",
80
  sector="AI & Software",
 
86
  description="24/7 monitoring and incident response.",
87
  buyer="Ministerio del Interior",
88
  status="Publicada",
89
+ closing_date=datetime.now() + timedelta(days=5),
90
  estimated_amount=320000000,
91
  region="Metropolitana",
92
  sector="Cybersecurity",
 
98
  description="Migration of legacy systems to AWS/Azure.",
99
  buyer="Tesorería General",
100
  status="Publicada",
101
+ closing_date=datetime.now() + timedelta(days=25),
102
  estimated_amount=120000000,
103
  region="Valparaíso",
104
  sector="Cloud",