---
title: "Discussion on \"Stop storing event dates: store the rule and compute the next edition\" | Hashnode"
description: "Discussion on \"Stop storing event dates: store the rule and compute the next edition\". Recurring events drift out of date when you store a date. Store the rule (nth weekday, Easter, lunar anchors) and compute the next edition in Python."
url: "https://hashnode.com/posts/stop-storing-event-dates-store-the-rule-and-compute-the-next-edition/6ad5cbe815888f21c32bc6f6"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Stop storing event dates: store the rule and compute the next edition](https://tablejourney.hashnode.dev/stop-storing-event-dates-store-the-rule-and-compute-the-next-edition?utm_source=hashnode&utm_medium=feed)

Recurring events drift out of date when you store a date. Store the rule (nth weekday, Easter, lunar anchors) and compute the next edition in Python.

Oct 19 · 7 min read · tablejourney.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#datetime](https://hashnode.com/tag/datetime)
-   [#opendata](https://hashnode.com/tag/opendata)
-   [#webdev](https://hashnode.com/tag/webdev)

## Written by

[TableJourney](https://hashnode.com/@tablejourney)

@tablejourney

  
[View profile](https://hashnode.com/@tablejourney)

Food travel guides to 222 cities and a calendar of food festivals with their next dates.

TableJourney is a food travel site: where to eat in 222 cities, the signature dishes and where to try them, and more than 1,400 food festivals with their next dates. https://tablejourney.com

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
