Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ParseInLocation (0.61 sec)

  1. tests/sql_builder_test.go

    		t.Fatal("Failed expect DB.DryRun to be false")
    	}
    
    	if DB.Dialector.Name() == "sqlserver" {
    		t.Skip("Skip SQL Server for this test, because it too difference with other dialects.")
    	}
    
    	date, _ := time.ParseInLocation("2006-01-02", "2021-10-18", time.Local)
    
    	// find
    	sql := DB.ToSQL(func(tx *gorm.DB) *gorm.DB {
    		return tx.Model(&User{}).Where("id = ?", 100).Limit(10).Order("age desc").Find(&[]User{})
    	})
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. api/go1.1.txt

    pkg time, const Sunday = 0
    pkg time, const Thursday = 4
    pkg time, const Tuesday = 2
    pkg time, const UnixDate = "Mon Jan _2 15:04:05 MST 2006"
    pkg time, const Wednesday = 3
    pkg time, func ParseInLocation(string, string, *Location) (Time, error)
    pkg time, method (*Timer) Reset(Duration) bool
    pkg time, method (Time) Round(Duration) Time
    pkg time, method (Time) Truncate(Duration) Time
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Mar 31 20:37:15 UTC 2022
    - 2.6M bytes
    - Viewed (0)
Back to top