rate limit DCA

This commit is contained in:
tim
2025-03-19 20:27:10 -04:00
parent cd84e7c3c9
commit 8750951de5
14 changed files with 651 additions and 325 deletions

View File

@@ -13,17 +13,17 @@
</template>
<script setup>
import {useStore} from "@/store/store";
import {usePrefStore, useStore} from "@/store/store";
import {computed} from "vue";
import {DateTime, Info} from "luxon";
const s = useStore()
const prefs = usePrefStore()
const props = defineProps(['modelValue'])
const emit = defineEmits(['update:modelValue'])
const hideDetails = true
const now = computed(()=>DateTime.fromSeconds(props.modelValue?props.modelValue:0).setZone(s.timeZone))
const now = computed(()=>DateTime.fromSeconds(props.modelValue?props.modelValue:0).setZone(prefs.timezone))
const year = computed({
get() { return now.value.year },