# Unit used for versioning

**URL:** https://forum.syncthing.net/t/unit-used-for-versioning/24202
**Category:** Support
**Created:** [April 18, 2025, 7:15am UTC](https://forum.syncthing.net/t/unit-used-for-versioning/24202 "2025-04-18T07:15:15Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![foo](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/f/b19c9b/32.png) [@foo](https://forum.syncthing.net/u/foo)
#### Post date: [April 18, 2025, 7:15am UTC](https://forum.syncthing.net/t/unit-used-for-versioning/24202/1 "2025-04-18T07:15:15Z")

</div>

After learning that [forum-feedback may result in fixes](https://forum.syncthing.net/t/actually-having-a-comma-separated-allowednetworks/23359) I find it worthwhile to post this, which has been a draft in my notes for quite a while.

The documentation on [versioning](https://docs.syncthing.net/users/versioning.html#staggered-file-versioning) reads, under Maximum Age:

> If only for 10 days, use 10.

Yet, the actual [maxAge](https://docs.syncthing.net/users/versioning.html#config-option-folder.versioning.params.maxage) configuration states:

> The maximum time to keep a version, in seconds.

Only one of these statements can be true. Alternatively; Maybe this is another case of web user interface versus XML config context? If so; It could perhaps, especially considering both the above facts are on the same page, be made more clear.

---

<div class="post-metadata">

### Author: ![tomasz86](https://forum.syncthing.net/letter_avatar_proxy/v4/letter/t/96bed5/32.png) [@tomasz86](https://forum.syncthing.net/u/tomasz86)
#### Post date: [April 18, 2025, 8:48am UTC](https://forum.syncthing.net/t/unit-used-for-versioning/24202/2 "2025-04-18T08:48:53Z")

</div>

> [@foo](#):
>
> Maybe this is another case of web user interface versus XML config context?

This is true. The GUI uses days, which are then translated to seconds in the `config.xml` file. This is only the case with `maxAge` for the staggered versioning, as with other versioning types, it seems to be days both in the GUI and in the config.

---

<div class="post-metadata">

### Author: ![system](https://forum-uploads.syncthingcdn.net/original/2X/0/0b50e0a202b22ae6a67190759e8c868805b8ed9f.png) [@system](https://forum.syncthing.net/u/system)
#### Post date: [May 21, 2025, 11:26pm UTC](https://forum.syncthing.net/t/unit-used-for-versioning/24202/4 "2025-05-21T23:26:27Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
