Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for UTC (0.01 sec)

  1. docs_src/security/tutorial004_py39.py

    
    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)
  2. tests/test_datetime_custom_encoder.py

            dt_field: datetime
    
            @field_serializer("dt_field")
            def serialize_datetime(self, dt_field: datetime):
                return dt_field.replace(microsecond=0, tzinfo=timezone.utc).isoformat()
    
        app = FastAPI()
        model = ModelWithDatetimeField(dt_field=datetime(2019, 1, 1, 8))
    
        @app.get("/model", response_model=ModelWithDatetimeField)
        def get_model():
            return model
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 817 bytes
    - Viewed (0)
  3. tests/serializer_test.go

    		t.Fatalf("no error should happen when migrate scanner, valuer struct, got error %v", err)
    	}
    
    	createdAt := time.Date(2020, 1, 1, 0, 0, 0, 0, time.UTC)
    	updatedAt := createdAt.Unix()
    
    	data := SerializerStruct{
    		Name:            []byte("jinzhu"),
    		Roles:           []string{"r1", "r2"},
    		Contracts:       map[string]interface{}{"name": "jinzhu", "age": 10},
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sat Nov 22 03:14:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. .github/workflows/update-jdks.yml

    name: Update jdks.yaml
    
    on:
      workflow_dispatch: # Allows manual triggering of the action
      schedule: # Runs the action weekly on Monday at 3:42 UTC
        - cron: '42 3 * * 1'
    
    permissions:
      contents: write
      pull-requests: write
    
    jobs:
      update-jdks:
        if: github.repository == 'gradle/gradle'
        permissions:
          contents: write
          pull-requests: write
        runs-on: ubuntu-latest
        steps:
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 09 22:14:16 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  5. .github/workflows/cleanup-stale-performance-data.yml

    name: Cleanup stale performance test data
    
    on:
      schedule:
        - cron: '0 4 * * 1'  # Run every Monday at 4:00 AM UTC
      workflow_dispatch:
    
    permissions:
      contents: read
      id-token: write
    
    jobs:
      cleanup-stale-performance-data:
        runs-on: ubuntu-latest
    
        if: github.repository == 'gradle/gradle'
    
        steps:
          - name: Checkout repository
            uses: actions/checkout@v6
          
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Nov 20 22:15:20 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. .github/workflows/update-test-buckets.yml

    name: Auto update test buckets
    
    on:
      schedule:
        - cron: '42 2 * * 1' # Every monday 2:42am UTC
      workflow_dispatch:
    
    permissions:
      contents: write
      id-token: write
      pull-requests: write
    
    jobs:
      update-test-buckets:
        runs-on: ubuntu-latest
    
        if: github.repository == 'gradle/gradle'
    
        steps:
          - name: Checkout repository
            uses: actions/checkout@v6
          - name: configure aws credentials
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Dec 09 22:14:16 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. lib/time/zoneinfo.zip

    Etc/GMT+4 Etc/GMT+5 Etc/GMT+6 Etc/GMT+7 Etc/GMT+8 Etc/GMT+9 Etc/GMT-0 Etc/GMT-1 Etc/GMT-10 Etc/GMT-11 Etc/GMT-12 Etc/GMT-13 Etc/GMT-14 Etc/GMT-2 Etc/GMT-3 Etc/GMT-4 Etc/GMT-5 Etc/GMT-6 Etc/GMT-7 Etc/GMT-8 Etc/GMT-9 Etc/GMT0 Etc/Greenwich Etc/UCT Etc/UTC Etc/Universal Etc/Zulu Europe/Amsterdam Europe/Andorra Europe/Astrakhan Europe/Athens Europe/Belfast Europe/Belgrade Europe/Berlin Europe/Bratislava Europe/Brussels Europe/Bucharest Europe/Budapest Europe/Busingen Europe/Chisinau Europe/Copenhagen Europe/Dublin...
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Dec 11 16:47:56 UTC 2025
    - 398.6K bytes
    - Viewed (0)
  8. tests/test_jsonable_encoder.py

        class ModelWithCustomEncoder(BaseModel):
            dt_field: datetime
    
            @field_serializer("dt_field")
            def serialize_dt_field(self, dt):
                return dt.replace(microsecond=0, tzinfo=timezone.utc).isoformat()
    
        class ModelWithCustomEncoderSubclass(ModelWithCustomEncoder):
            pass
    
        model = ModelWithCustomEncoder(dt_field=datetime(2019, 1, 1, 8))
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. 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 Constants
        // ============================================================
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 13 02:21:17 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  10. scripts/people.py

        three_months_commenters = Counter[str]()
        six_months_commenters = Counter[str]()
        one_year_commenters = Counter[str]()
        authors: dict[str, Author] = {}
    
        now = datetime.now(tz=timezone.utc)
        one_month_ago = now - timedelta(days=30)
        three_months_ago = now - timedelta(days=90)
        six_months_ago = now - timedelta(days=180)
        one_year_ago = now - timedelta(days=365)
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 12.3K bytes
    - Viewed (0)
Back to top