1
0
mirror of https://gitlab.crans.org/bde/nk20-scripts synced 2025-02-25 09:26:30 +00:00

Compare commits

..

1 Commits

Author SHA1 Message Date
erdnaxe
0cd5c39001 Merge branch 'l_eveil_du_nanax' into 'master'
L'eveil du nanax

See merge request bde/nk20-scripts!2
2021-06-16 04:02:49 +00:00

View File

@ -100,7 +100,7 @@ class Command(BaseCommand):
title=act.name, title=act.name,
start=timezone.localtime(act.date_start).strftime("%Y-%m-%d %H:%M"), start=timezone.localtime(act.date_start).strftime("%Y-%m-%d %H:%M"),
end=timezone.localtime(act.date_end).strftime("%Y-%m-%d %H:%M"), end=timezone.localtime(act.date_end).strftime("%Y-%m-%d %H:%M"),
description=act.description.replace("\r", "").replace("\n", " <<BR>>"), description=act.description.replace("\r", "").replace("\n", "<<BR>>"),
club=act.organizer.name, club=act.organizer.name,
location=act.location, location=act.location,
) )
@ -108,7 +108,7 @@ class Command(BaseCommand):
return "|| {start} || {title} || {description} || {club} || {location} ||".format( return "|| {start} || {title} || {description} || {club} || {location} ||".format(
title=act.name, title=act.name,
start=timezone.localtime(act.date_start).strftime("%d/%m/%Y"), start=timezone.localtime(act.date_start).strftime("%d/%m/%Y"),
description=act.description.replace("\r", "").replace("\n", " <<BR>>"), description=act.description.replace("\r", "").replace("\n", "<<BR>>"),
club=act.organizer.name, club=act.organizer.name,
location=act.location, location=act.location,
) )