mirror of
https://github.com/minio/minio.git
synced 2025-11-09 05:34:56 -05:00
Add comments
This commit is contained in:
@@ -13,6 +13,7 @@ type Date struct {
|
||||
Day byte
|
||||
}
|
||||
|
||||
// Date to string output in yyyy-mm-dd format
|
||||
func (d Date) String() string {
|
||||
return fmt.Sprintf("%04d-%02d-%02d", d.Year, d.Month, d.Day)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user