use days only to express retention periods

This commit is contained in:
Frederik Ring 2021-08-04 16:47:19 +02:00
parent 3c79dff072
commit b0e3d99e36

View File

@ -317,14 +317,14 @@ Allows: opt-out
This field is REQUIRED unless the only value of the Collects field {{collects-field}} is none. This field is REQUIRED unless the only value of the Collects field {{collects-field}} is none.
The single-value field indicates the duration for which the analytics data is being stored before being deleted. This duration MUST also cover periods where data might transition to be stored in aggregated form only. The single-value field indicates the duration for which the analytics data is being stored before being deleted. This duration MUST also cover periods where data might transition to be stored in aggregated form only.
The value is either a duration as defined in {{!RFC3339}} or the token "perpetual" in case data is retained without expiring it at some point. The value is either a duration in days (including the days suffix), or the token "perpetual" in case data is retained without expiring it at some point.
Implementors SHOULD add a comment providing a human readable value to this field. A day is defined as 24 hours.
In case the retention period does not divide evenly into days, it MUST be brought up to the next round figure.
#### Example #### Example
~~~~~~~~~~ ~~~~~~~~~~
# Data is retained for twelve months Retains: 365 days
Retains: P12M
~~~~~~~~~~ ~~~~~~~~~~
### Honors ### Honors
@ -485,8 +485,7 @@ Stores: first-party-cookies, local-storage
Uses: javascript Uses: javascript
# Users can also delete their usage data only without opting out # Users can also delete their usage data only without opting out
Allows: opt-in, opt-out Allows: opt-in, opt-out
# Data is retained for 6 months Retains: 186 days
Retains: P6M
# Optional fields # Optional fields
Honors: none Honors: none