# Batch set relative x-min?

**URL:** <https://forum.beeminder.com/t/batch-set-relative-x-min/12175>\
**Category:** Akrasia\
**Created:** [January 20, 2025, 12:28am UTC](https://forum.beeminder.com/t/batch-set-relative-x-min/12175 "2025-01-20T00:28:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lanthala](https://avatars.discourse-cdn.com/v4/letter/l/f4b2a3/32.png) [@lanthala](https://forum.beeminder.com/u/lanthala)\
**Post date:** [January 20, 2025, 12:28am UTC](https://forum.beeminder.com/t/batch-set-relative-x-min/12175/1 "2025-01-20T00:28:33Z")

</div>

I just created a bunch of new goals, and went through setting my preferred relative x-min (3 months, in my case) for all of them. It was pretty slow going! Then I realized the lack of current data means that they’re all smooshed and will be for at least a couple months 😕 I lack the will to go back and clear the x-min, and then reset it again in a couple months, but that made me wonder: is there a page where I can update many of my goals’ x-mins, like I can with breaks and reminders?

---

<div class="post-metadata">

**Author:** ![krugerk](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.beeminder.com/krugerk/32/5161_2.png) [@krugerk](https://forum.beeminder.com/u/krugerk)\
**Post date:** [January 20, 2025, 7:41am UTC](https://forum.beeminder.com/t/batch-set-relative-x-min/12175/2 "2025-01-20T07:41:35Z")

</div>

Previously users would use scripts using the official API to set the t-min to the date say weeks ago and run that script periodically.  
See [Year in review graph option - #2 by philip](https://forum.beeminder.com/t/year-in-review-graph-option/2834/2), which contains such a script, and [How do I set the 'zoom' on my beeminder visualization to show 1-2 weeks max and not the entire time period?](http://forum.beeminder.com/t/how-do-i-set-the-zoom-on-my-beeminder-visualization-to-show-1-2-weeks-max-and-not-the-entire-time-period/557).

Then Beeminder added direct support for setting relative t-min dates on the webpage of a particular goal. As far as I know, there is no place on the website to set such as a default for new goals nor is there a way to set it across several goals all at once. Furthermore, having done that, the API can no longer be used to either get or set the t-min until the t-min is set on the website to a non-relative date, it seems.

There was a discussion in Discord about this at the time the feature was being implemented on the website. See [Discord](https://discord.com/channels/775039310868381696/775039310868381700/1276172232321663029). A user suggested using ISO Date Durations to indicate the relative dates.
