Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COUNTRIES = ARG AUS AUT BRA BUL CAN CRO CYP DEN ECU ESP EST FIN FRA GBR \
POL POR ROU RSA RUS SLO SUI SWE TUR UKR USA


YEAR = 2025
YEAR = $(shell date +%Y)

JSON_FILES = $(addprefix data/$(YEAR)/, $(addsuffix $(YEAR).json, $(COUNTRIES)))

Expand Down
3 changes: 2 additions & 1 deletion scoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
from __future__ import print_function

import sys
from datetime import date

from parser.json_output import jsonwriter_extremes, jsonwriter_site, jsonwriter_list
from parser.parser import parse_json_glob
from parser.util import log

YEAR = 2025
YEAR = date.today().year

if __name__ == "__main__":
# display help:
Expand Down
2 changes: 1 addition & 1 deletion site/build/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion site/build/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ $: if (route == 'random') {

<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid">
<a class="navbar-brand" href="#extremes">ORC sailboat data (2025)</a>
<a class="navbar-brand" href="#extremes">ORC sailboat data ({new Date().getFullYear()})</a>
<button
class="navbar-toggler"
type="button"
Expand Down