Skip to content

Commit d73f74a

Browse files
Jérôme DeuchnordDeuchnord
authored andcommitted
fix(events): fix event details display for maximal elongation
1 parent b06d584 commit d73f74a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/e2e.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches: [master, features]
66
pull_request:
77
branches: [master, features]
8+
schedule:
9+
# Run the tests every day at 6:00 AM.
10+
# This allows to run the tests against the relative dates
11+
- cron: "0 6 * * *"
812

913
jobs:
1014
e2e-tests:

_kosmorro/i18n/strings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def from_event(event: Event, with_description: bool = True) -> Union[None, str]:
2525
string = string % tuple([from_object(o.identifier) for o in event.objects])
2626

2727
if details is not None and with_description:
28-
return "%s (%s)" % (string, details())
28+
return "%s (%s)" % (string, details(event))
2929

3030
return string
3131

0 commit comments

Comments
 (0)