mirror of
https://github.com/restic/restic.git
synced 2025-01-03 13:45:20 +00:00
fix typos
This commit is contained in:
parent
4557881066
commit
69a0d0ee90
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ func (node *Node) createFifoAt(path string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
// FixTime returns a time.Time which can safely be used to marshal as JSON. If
|
// FixTime returns a time.Time which can safely be used to marshal as JSON. If
|
||||||
// the timestamp is ealier that year zero, the year is set to zero. In the same
|
// the timestamp is earlier than year zero, the year is set to zero. In the same
|
||||||
// way, if the year is larger than 9999, the year is set to 9999. Other than
|
// way, if the year is larger than 9999, the year is set to 9999. Other than
|
||||||
// the year nothing is changed.
|
// the year nothing is changed.
|
||||||
func FixTime(t time.Time) time.Time {
|
func FixTime(t time.Time) time.Time {
|
||||||
|
|
Loading…
Reference in a new issue