File tree Expand file tree Collapse file tree 3 files changed +31
-5
lines changed
Expand file tree Collapse file tree 3 files changed +31
-5
lines changed Original file line number Diff line number Diff line change 11# para cerrar el c4p, dejar vacío
22PUBLIC_CALL_FOR_PAPERS_OPEN =
3+
4+ PUBLIC_EVENT_START_DATE = 2026-03-09
5+ PUBLIC_EVENT_END_DATE = 2026-03-13
Original file line number Diff line number Diff line change 99 import MetroMalaga from " $lib/components/icons/MetroMalaga.svelte" ;
1010 import Renfe from " $lib/components/icons/Renfe.svelte" ;
1111
12- import { PUBLIC_CALL_FOR_PAPERS_OPEN } from " $env/static/public" ;
12+ import {
13+ PUBLIC_CALL_FOR_PAPERS_OPEN ,
14+ PUBLIC_EVENT_START_DATE ,
15+ PUBLIC_EVENT_END_DATE ,
16+ } from " $env/static/public" ;
17+
18+ import { Temporal } from " temporal-polyfill-lite" ;
19+
20+ const startPlainDate = Temporal .PlainDate .from (PUBLIC_EVENT_START_DATE );
21+ const endPlainDate = Temporal .PlainDate .from (PUBLIC_EVENT_END_DATE );
22+
23+ const start = startPlainDate .toLocaleString (" es" , { day: " 2-digit" });
24+ const end = endPlainDate .toLocaleString (" es" , {
25+ day: " 2-digit" ,
26+ month: " long" ,
27+ });
28+ const year = endPlainDate .year ;
1329 </script >
1430
1531<svelte:head >
2844 <HackersWeekEdition height =" 1.13em" />
2945 </h1 >
3046 <h2 >
31- <time datetime =" 2026-03-09 " >09 </time > -
32- <time datetime =" 2026-03-13 " >13 de Marzo 2026 </time >
47+ <time datetime ={ PUBLIC_EVENT_START_DATE }>{ start } </time > -
48+ <time datetime ={ PUBLIC_EVENT_END_DATE }>{ end } { year } </time >
3349 </h2 >
3450 <nav >
3551 <a href =" #schedule" >
Original file line number Diff line number Diff line change @@ -5,13 +5,20 @@ layout: main
55---
66
77<script lang="ts">
8- import { PUBLIC_CALL_FOR_PAPERS_OPEN } from "$env/static/public";
8+ import { PUBLIC_CALL_FOR_PAPERS_OPEN, PUBLIC_EVENT_START_DATE, PUBLIC_EVENT_END_DATE } from "$env/static/public";
9+ import { Temporal } from "temporal-polyfill-lite";
10+
11+ const start = Temporal.PlainDate.from(PUBLIC_EVENT_START_DATE).day;
12+ const end = Temporal.PlainDate.from(PUBLIC_EVENT_END_DATE).toLocaleString('es', {
13+ year: 'numeric', month: 'long', day: 'numeric'
14+ });
915</script>
1016
1117El Consejo de Estudiantes de la Escuela Técnica Superior de Ingeniería Informática
1218de la Universidad de Málaga se ha puesto en marcha para organizar la "[Hackers Week](/)".
1319
14- El evento se celebrará del 9 al 13 de marzo de 2026.
20+ El evento se celebrará del <time datetime={PUBLIC_EVENT_START_DATE}>{start}</time>
21+ al <time datetime={PUBLIC_EVENT_END_DATE}>{end}</time>.
1522
1623## Modalidades de Presentación
1724Los autores pueden optar por diferentes modalidades de presentación:
You can’t perform that action at this time.
0 commit comments