13
submitted 2 months ago by cm0002@lemy.lol to c/python@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] NostraDavid@programming.dev 2 points 1 month ago

The P means Period and is part of ISO8601.

The format looks like PnYnMnDTnHnMnS (no milliseconds), so concretely P3Y6M4DT12H30M5S.

The P is required to designate a period, the T only shows up if you have any Hours, Minutes or Seconds defined.

this post was submitted on 27 Apr 2026
13 points (93.3% liked)

Python

7973 readers
1 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 3 years ago
MODERATORS