Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 95 for timeZone (0.19 sec)

  1. docs_src/security/tutorial005_an.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
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  2. internal/amztime/iso8601_time.go

    )
    
    // ISO8601Format converts time 't' into ISO8601 time format expected in AWS S3 spec.
    //
    // This function is needed to avoid a Go's float64 precision bug, where Go avoids
    // padding the extra '0' before the timezone.
    func ISO8601Format(t time.Time) string {
    	value := t.Format(iso8601TimeFormat)
    	if len(value) < len(iso8601TimeFormat) {
    		value = t.Format(iso8601TimeFormat[:len(iso8601TimeFormat)-1])
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 16 23:38:33 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/Constants.java

        public static final Integer DEFAULT_DAY_FOR_CLEANUP = 3;
    
        public static final String FESS_CONF_PATH = "fess.conf.path";
    
        public static final TimeZone TIMEZONE_UTC = TimeZone.getTimeZone("UTC");
    
        public static final String LDAP_BASE_DN = "ldap.base.dn";
    
        public static final String LDAP_SECURITY_PRINCIPAL = "ldap.security.principal";
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  4. internal/s3select/sql/parser.go

    type ExtractFunc struct {
    	Timeword string       `parser:" \"EXTRACT\" \"(\" @( \"YEAR\":Timeword | \"MONTH\":Timeword | \"DAY\":Timeword | \"HOUR\":Timeword | \"MINUTE\":Timeword | \"SECOND\":Timeword | \"TIMEZONE_HOUR\":Timeword | \"TIMEZONE_MINUTE\":Timeword ) "`
    	From     *PrimaryTerm `parser:" \"FROM\" @@ \")\" "`
    }
    
    // TrimFunc represents TRIM sql function
    type TrimFunc struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/Configuration.java

         * Property <tt>jcifs.encoding</tt> (string, default <tt>Cp850</tt>)
         * 
         * @return OEM encoding to use
         */
        String getOemEncoding ();
    
    
        /**
         * @return local timezone
         */
        TimeZone getLocalTimezone ();
    
    
        /**
         * @return Process id to send, randomized if unset
         */
        int getPid ();
    
    
        /**
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  6. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerCertificatesTest.kt

          .writeByte(this[size - 1].toInt() xor 1)
          .readByteString()
      }
    
      private fun date(s: String): Date {
        return SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ").run {
          timeZone = TimeZone.getTimeZone("GMT")
          parse(s)
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 43.9K bytes
    - Viewed (0)
  7. common/scripts/run.sh

        --sig-proxy=true \
        ${DOCKER_SOCKET_MOUNT:--v /var/run/docker.sock:/var/run/docker.sock} \
        $CONTAINER_OPTIONS \
        --env-file <(env | grep -v ${ENV_BLOCKLIST}) \
        -e IN_BUILD_CONTAINER=1 \
        -e TZ="${TIMEZONE:-$TZ}" \
        --mount "type=bind,source=${MOUNT_SOURCE},destination=/work" \
        --mount "type=volume,source=go,destination=/go" \
        --mount "type=volume,source=gocache,destination=/gocache" \
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Aug 11 02:34:11 GMT 2023
    - 2.2K bytes
    - Viewed (1)
  8. src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java

    import java.time.ZoneId;
    import java.time.format.DateTimeFormatter;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Date;
    import java.util.List;
    import java.util.TimeZone;
    
    import org.dbflute.cbean.ConditionBean;
    import org.dbflute.cbean.ConditionQuery;
    import org.dbflute.cbean.ckey.ConditionKey;
    import org.dbflute.cbean.coption.ConditionOption;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractConditionQuery.java

    import java.time.ZoneId;
    import java.time.format.DateTimeFormatter;
    import java.util.ArrayList;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.Date;
    import java.util.List;
    import java.util.TimeZone;
    
    import org.dbflute.cbean.ConditionBean;
    import org.dbflute.cbean.ConditionQuery;
    import org.dbflute.cbean.ckey.ConditionKey;
    import org.dbflute.cbean.coption.ConditionOption;
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  10. src/archive/zip/writer.go

    		// do not convert to UTC, because we assume the user intends to encode
    		// the date using the specified timezone. A user may want this control
    		// because many legacy ZIP readers interpret the timestamp according
    		// to the local timezone.
    		//
    		// The timezone is only non-UTC if a user directly sets the Modified
    		// field directly themselves. All other approaches sets UTC.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top