We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b41988 commit 8d46d37Copy full SHA for 8d46d37
1 file changed
testdata/godoc-v2.x.txt
@@ -1757,6 +1757,9 @@ func (t *Timestamp) Set(value string) error
1757
func (t *Timestamp) SetLayout(layout string)
1758
Set the timestamp string layout for future parsing
1759
1760
+func (t *Timestamp) SetLocation(loc *time.Location)
1761
+ Set perceived timezone of the to-be parsed time string
1762
+
1763
func (t *Timestamp) SetTimestamp(value time.Time)
1764
Set the timestamp value directly
1765
@@ -1785,6 +1788,8 @@ type TimestampFlag struct {
1785
1788
EnvVars []string
1786
1789
1787
1790
Layout string
1791
1792
+ Timezone *time.Location
1793
}
1794
TimestampFlag is a flag with type *Timestamp
1795
0 commit comments