mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
feat: add git-based last updated date to privacy policy
This commit is contained in:
parent
139b8a2d4a
commit
676c017eb1
1 changed files with 13 additions and 1 deletions
|
@ -79,5 +79,17 @@ We will post any adjustments to the Privacy Policy on this page, and the revised
|
||||||
|
|
||||||
If you have any questions, comments, or concerns about our processing activities, please email us at **privacy@COMPANY.com**.
|
If you have any questions, comments, or concerns about our processing activities, please email us at **privacy@COMPANY.com**.
|
||||||
|
|
||||||
## Last Updated: **date**
|
## Last Updated:
|
||||||
|
<!--[[[cog
|
||||||
|
import subprocess
|
||||||
|
import datetime
|
||||||
|
|
||||||
|
result = subprocess.run(['git', 'log', '-1', '--format=%ct', 'aider/website/docs/legal/privacy.md'], capture_output=True, text=True)
|
||||||
|
if result.returncode == 0:
|
||||||
|
timestamp = int(result.stdout.strip())
|
||||||
|
date = datetime.datetime.fromtimestamp(timestamp)
|
||||||
|
cog.out(f"{date.strftime('%B %d, %Y.')}")
|
||||||
|
]]]-->
|
||||||
|
October 30, 2024.
|
||||||
|
<!--[[[end]]]-->
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue