Skip to main content

Rename timestamps to dates

ID
689a15f
date
2025-11-29 07:37:33+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
5f67edc
message
Rename `timestamps` to `dates`
changed files
4 files, 7 additions, 3 deletions

Changed files

CHANGELOG.md (454) → CHANGELOG.md (521)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0be58e0..d9ec7f3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
 # CHANGELOG
 
+## v4 - 2025-11-29
+
+Rename `chives.timestamps` to `chives.dates`.
+
 ## v3 - 2025-11-29
 
 Add the `clean_youtube_url()` function and `urls` extra.

src/chives/__init__.py (390) → src/chives/__init__.py (390)

diff --git a/src/chives/__init__.py b/src/chives/__init__.py
index 5d290d7..6c780be 100644
--- a/src/chives/__init__.py
+++ b/src/chives/__init__.py
@@ -11,4 +11,4 @@ I share across multiple sites.
 
 """
 
-__version__ = "3"
+__version__ = "4"

src/chives/timestamps.py (2122) → src/chives/dates.py (2122)

diff --git a/src/chives/timestamps.py b/src/chives/dates.py
similarity index 100%
rename from src/chives/timestamps.py
rename to src/chives/dates.py

tests/test_timestamps.py (2031) → tests/test_dates.py (2021)

diff --git a/tests/test_timestamps.py b/tests/test_dates.py
similarity index 95%
rename from tests/test_timestamps.py
rename to tests/test_dates.py
index 6b64184..74c9128 100644
--- a/tests/test_timestamps.py
+++ b/tests/test_dates.py
@@ -1,10 +1,10 @@
-"""Tests for `chives.timestamps`."""
+"""Tests for `chives.dates`."""
 
 import json
 
 import pytest
 
-from chives.timestamps import date_matches_any_format, find_all_dates, reformat_date
+from chives.dates import date_matches_any_format, find_all_dates, reformat_date
 
 
 def test_find_all_dates() -> None: