- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for dateTime (0.05 sec)
-
docs/en/docs/tutorial/extra-data-types.md
* `datetime.datetime`: * A Python `datetime.datetime`. * In requests and responses will be represented as a `str` in ISO 8601 format, like: `2008-09-15T15:53:00+05:00`. * `datetime.date`: * Python `datetime.date`. * In requests and responses will be represented as a `str` in ISO 8601 format, like: `2008-09-15`. * `datetime.time`: * A Python `datetime.time`.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.7K bytes - Viewed (0) -
docs/en/docs/tutorial/encoder.md
## Using the `jsonable_encoder` { #using-the-jsonable-encoder } Let's imagine that you have a database `fake_db` that only receives JSON compatible data. For example, it doesn't receive `datetime` objects, as those are not compatible with JSON. So, a `datetime` object would have to be converted to a `str` containing the data in <a href="https://en.wikipedia.org/wiki/ISO_8601" class="external-link" target="_blank">ISO format</a>.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 1.7K bytes - Viewed (0) -
docs/en/docs/tutorial/body-updates.md
You can use the `jsonable_encoder` to convert the input data to data that can be stored as JSON (e.g. with a NoSQL database). For example, converting `datetime` to `str`. {* ../../docs_src/body_updates/tutorial001_py310.py hl[28:33] *} `PUT` is used to receive data that should replace the existing data. ### Warning about replacing { #warning-about-replacing }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/taglib/FessFunctions.java
return new Date(time); } catch (final Exception e) { return null; } } /** * Formats a Date object to ISO datetime string format in UTC timezone. * * @param date the date to format * @return formatted date string, or empty string if date is null */ public static String formatDate(final Date date) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 25.3K bytes - Viewed (1) -
docs/en/docs/advanced/response-directly.md
For example, you cannot put a Pydantic model in a `JSONResponse` without first converting it to a `dict` with all the data types (like `datetime`, `UUID`, etc) converted to JSON-compatible types. For those cases, you can use the `jsonable_encoder` to convert your data before passing it to a response: {* ../../docs_src/response_directly/tutorial001.py hl[6:7,21:22] *}
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3.1K bytes - Viewed (0) -
docs/uk/docs/index.md
* Конвертація Python типів (`str`, `int`, `float`, `bool`, `list`, тощо). * `datetime` об'єкти. * `UUID` об'єкти. * Моделі бази даних. * ...та багато іншого. * Автоматичну інтерактивну документацію API, включаючи 2 альтернативні інтерфейси користувача: * Swagger UI. * ReDoc.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 24.2K bytes - Viewed (0) -
docs/en/docs/features.md
You write standard Python with types: ```Python from datetime import date from pydantic import BaseModel # Declare a variable as a str # and get editor support inside the function def main(user_id: str): return user_id # A Pydantic model
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/Constants.java
// Date/Time Format Constants // ============================================================ /** Default datetime format pattern without timezone. */ public static final String DEFAULT_DATETIME_FORMAT = "yyyy-MM-dd'T'HH:mm:ss"; /** ISO datetime format pattern with milliseconds and UTC timezone. */ public static final String ISO_DATETIME_FORMAT = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 34.6K bytes - Viewed (0) -
docs/vi/docs/index.md
* Chuyển đổi kiểu dữ liệu Python (`str`, `int`, `float`, `bool`, `list`,...). * `datetime` objects. * `UUID` objects. * Database models. * ...và nhiều hơn thế. * Tự động tạo tài liệu tương tác API, bao gồm 2 giao diện người dùng: * Swagger UI. * ReDoc. ---
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 21.9K bytes - Viewed (0) -
docs/em/docs/index.md
* 🎚. * 📨. * 📁. * <abbr title="also known as: serialization, parsing, marshalling">🛠️</abbr> 🔢 📊: 🗜 ⚪️➡️ 🐍 💽 & 🆎 🕸 💽 (🎻): * 🗜 🐍 🆎 (`str`, `int`, `float`, `bool`, `list`, ♒️). * `datetime` 🎚. * `UUID` 🎚. * 💽 🏷. * ...& 📚 🌖. * 🏧 🎓 🛠️ 🧾, 🔌 2️⃣ 🎛 👩💻 🔢: * 🦁 🎚. * 📄. --- 👟 🔙 ⏮️ 📟 🖼, **FastAPI** 🔜:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 17.1K bytes - Viewed (0)