1.
Peel the onions and cut into thin strips.
2.
Sauté maple syrup, date sugar, and onions in a tall pot for 8 to 10 minutes, stirring frequently to prevent burning.
3.
Add all remaining ingredients and stir well.
4.
Bring to a boil over medium heat, then reduce the heat slightly.
5.
Let the jam simmer on low heat until most of the liquid has evaporated (30–50 minutes depending on the stove).
6.
Prepare clean jars. Either preheat the oven to 200° Celsius and sterilize the jars in the oven for 10–15 minutes or alternatively boil them in water for 10 minutes.
7.
Fill the onion jam into the jars while still hot. Remove bay leaves when filling. Seal jars hot. Opened, keep for one week; unopened, several weeks. For extra safety, process the jars: place well-sealed jars in a tall pot, cover with water and boil for about 120 minutes at 100°C. Let jars cool well and store in the dark.