Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proper timestamping #8

Closed
PersonMeetup opened this issue May 13, 2022 · 1 comment
Closed

Proper timestamping #8

PersonMeetup opened this issue May 13, 2022 · 1 comment
Assignees

Comments

@PersonMeetup
Copy link
Owner

Do it manually.

Problem now becomes how do you copy a timestamp that Luxon can use?

@PersonMeetup PersonMeetup self-assigned this May 13, 2022
PersonMeetup added a commit that referenced this issue May 13, 2022
Includes introduction of `lastmod` variable, currently shown on blog
browse page.
@PersonMeetup
Copy link
Owner Author

For future reference, this block of Python code helps for creating ISO formatted dates:

from datetime import datetime
from dateutil import tz
import pyperclip as pc

current = datetime.now(tz.gettz('America/Edmonton'))
pc.copy(current.isoformat())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant