mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
Merge commit '5be51ac3db225d5df501ed1fa1499c41d97dbf65'
This commit is contained in:
@@ -3,13 +3,10 @@ title: Round
|
||||
description: Returns the result of rounding TIME to the nearest multiple of DURATION since January 1, 0001, 00:00:00 UTC.
|
||||
categories: []
|
||||
keywords: []
|
||||
action:
|
||||
related:
|
||||
- functions/time/AsTime
|
||||
- functions/time/ParseDuration
|
||||
- methods/time/Truncate
|
||||
returnType: time.Time
|
||||
signatures: [TIME.Round DURATION]
|
||||
params:
|
||||
functions_and_methods:
|
||||
returnType: time.Time
|
||||
signatures: [TIME.Round DURATION]
|
||||
---
|
||||
|
||||
The rounding behavior for halfway values is to round up.
|
||||
|
Reference in New Issue
Block a user