Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for formatDate (0.09 sec)

  1. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                                    final Date dt = FessFunctions.parseDate(values[0], dateFormat);
                                    if (dt != null) {
                                        dataMap.put(mapping.getValue1(), FessFunctions.formatDate(dt));
                                    } else {
                                        logger.warn("Failed to parse {}", mapping);
                                    }
                                } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                        value = list.stream().collect(Collectors.joining("\n"));
                    }
                } else if (dateFieldSet.contains(key)) {
                    value = FessFunctions.formatDate((Date) value);
                } else if (integerFieldSet.contains(key) || longFieldSet.contains(key) || floatFieldSet.contains(key)
                        || doubleFieldSet.contains(key)) {
                    value = value.toString();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:15 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  3. cmd/format-erasure.go

    		if err = os.WriteFile(formatPath, formatData, 0o666); err != nil {
    			return nil, nil, err
    		}
    		formatFi, err := Lstat(formatPath)
    		if err != nil {
    			return nil, nil, err
    		}
    		return formatData, formatFi, nil
    	}
    
    	switch version {
    	case formatErasureVersionV1:
    		formatData, err = formatErasureMigrateV1ToV2(formatData, version)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  4. schema/naming.go

    	return ns.formatName("fk", rel.Schema.Table, ns.toDBName(rel.Name))
    }
    
    // CheckerName generate checker name
    func (ns NamingStrategy) CheckerName(table, column string) string {
    	return ns.formatName("chk", table, column)
    }
    
    // IndexName generate index name
    func (ns NamingStrategy) IndexName(table, column string) string {
    	return ns.formatName("idx", table, ns.toDBName(column))
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. schema/naming_test.go

    		t.Errorf("invalid column name generated, got %v", columdName)
    	}
    }
    
    func TestFormatNameWithStringLongerThan63Characters(t *testing.T) {
    	ns := NamingStrategy{IdentifierMaxLength: 63}
    
    	formattedName := ns.formatName("prefix", "table", "thisIsAVeryVeryVeryVeryVeryVeryVeryVeryVeryLongString")
    	if formattedName != "prefix_table_thisIsAVeryVeryVeryVeryVeryVeryVeryVeryVer180f2c67" {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue May 30 02:00:48 UTC 2023
    - 7K bytes
    - Viewed (0)
  6. cmd/format-erasure_test.go

    	if err = os.WriteFile(pathJoin(rootPath, minioMetaBucket, formatConfigFile), b, os.FileMode(0o644)); err != nil {
    		t.Fatal(err)
    	}
    
    	formatData, _, err := formatErasureMigrate(rootPath)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	migratedVersion, err := formatGetBackendErasureVersion(formatData)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if migratedVersion != formatErasureVersionV3 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 15 08:25:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  7. cmd/xl-storage.go

    	// in-case the caller is a network operation.
    	if volume == minioMetaBucket && path == formatConfigFile {
    		s.RLock()
    		formatData := make([]byte, len(s.formatData))
    		copy(formatData, s.formatData)
    		s.RUnlock()
    		if len(formatData) > 0 {
    			return formatData, nil
    		}
    	}
    	volumeDir, err := s.getVolDir(volume)
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  8. docs/fr/docs/project-generation.md

    ## Modèles d'apprentissage automatique avec spaCy et FastAPI - Fonctionnalités
    
    * Intégration d'un modèle NER **spaCy**.
    * Formatage de requête pour **Azure Cognitive Search**.
    * Serveur Python web **prêt à utiliser en production** utilisant Uvicorn et Gunicorn.
    * Déploiement CI/CD Kubernetes pour **Azure DevOps** (AKS).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Jul 29 23:35:07 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. docs/fr/docs/contributing.md

    De cette façon, vous n'avez pas à "installer" votre version locale pour pouvoir tester chaque changement.
    
    ### Formatage
    
    Il existe un script que vous pouvez exécuter qui formatera et nettoiera tout votre code :
    
    <div class="termy">
    
    ```console
    $ bash scripts/format.sh
    ```
    
    </div>
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. docs/fr/docs/tutorial/path-params.md

    Vous pouvez déclarer des "paramètres" ou "variables" de chemin avec la même syntaxe que celle utilisée par le
    <a href="https://docs.python.org/fr/3/library/string.html#format-string-syntax" class="external-link" target="_blank">formatage de chaîne Python</a> :
    
    
    ```Python hl_lines="6-7"
    {!../../docs_src/path_params/tutorial001.py!}
    ```
    
    La valeur du paramètre `item_id` sera transmise à la fonction dans l'argument `item_id`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top