- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for timezone (0.14 sec)
-
tests/test_datetime_custom_encoder.py
from fastapi import FastAPI from fastapi.testclient import TestClient from pydantic import BaseModel def test_pydanticv2(): from pydantic import field_serializer class ModelWithDatetimeField(BaseModel): dt_field: datetime @field_serializer("dt_field") def serialize_datetime(self, dt_field: datetime):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 817 bytes - Viewed (0) -
docs_src/security/tutorial004_py39.py
return user def create_access_token(data: dict, expires_delta: Union[timedelta, None] = None): to_encode = data.copy() if expires_delta: expire = datetime.now(timezone.utc) + expires_delta else: expire = datetime.now(timezone.utc) + timedelta(minutes=15) to_encode.update({"exp": expire}) encoded_jwt = jwt.encode(to_encode, SECRET_KEY, algorithm=ALGORITHM) return encoded_jwt
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.1K bytes - Viewed (0) -
tests/test_jsonable_encoder.py
import warnings from collections import deque from dataclasses import dataclass from datetime import datetime, timezone from decimal import Decimal from enum import Enum from math import isinf, isnan from pathlib import PurePath, PurePosixPath, PureWindowsPath from typing import Optional, TypedDict import pytest from fastapi._compat import Undefined from fastapi.encoders import jsonable_encoder
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/Constants.java
/** Configuration path property key. */ public static final String FESS_CONF_PATH = "fess.conf.path"; /** UTC timezone constant. */ public static final TimeZone TIMEZONE_UTC = TimeZone.getTimeZone("UTC"); // ============================================================ // LDAP Configuration ConstantsRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 13 02:21:17 UTC 2025 - 35.2K bytes - Viewed (0) -
scripts/people.py
import logging import secrets import subprocess import time from collections import Counter from collections.abc import Container from datetime import datetime, timedelta, timezone from pathlib import Path from typing import Any, Union import httpx import yaml from github import Github from pydantic import BaseModel, SecretStr from pydantic_settings import BaseSettings github_graphql_url = "https://api.github.com/graphql"
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 21:25:59 UTC 2025 - 12.3K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Base64; import java.util.Date; import java.util.List; import java.util.Map; import java.util.TimeZone; import java.util.function.Consumer; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.apache.lucene.search.TotalHits; import org.codelibs.core.beans.BeanDesc;
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:40:57 UTC 2025 - 34.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SystemHelper.java
import java.util.LinkedHashMap; import java.util.List; import java.util.Locale; import java.util.Map; import java.util.Map.Entry; import java.util.Properties; import java.util.Set; import java.util.TimeZone; import java.util.UUID; import java.util.concurrent.ExecutionException; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicInteger;
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sat Dec 20 08:30:43 UTC 2025 - 36.6K 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) { if (date == null) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 25.4K bytes - Viewed (1) -
api/maven-api-model/src/main/mdo/maven.mdo
<multiplicity>*</multiplicity> </association> </field> <field> <name>timezone</name> <version>3.0.0+</version> <description> <![CDATA[ The timezone the contributor is in. Typically, this is a number in the range
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Nov 26 03:07:35 UTC 2025 - 133.3K bytes - Viewed (0) -
doc/go_spec.html
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Tue Dec 02 23:07:19 UTC 2025 - 286.5K bytes - Viewed (1)