# Issue with Custom Date Function Not Working in Navigate: Home Command

**URL:** https://community.silverbullet.md/t/issue-with-custom-date-function-not-working-in-navigate-home-command/1829
**Category:** v1: Troubleshooting (legacy)
**Created:** [February 21, 2025, 9:38am UTC](https://community.silverbullet.md/t/issue-with-custom-date-function-not-working-in-navigate-home-command/1829 "2025-02-21T09:38:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![daydaya](https://community.silverbullet.md/user_avatar/community.silverbullet.md/daydaya/32/284_2.png) [@daydaya](https://community.silverbullet.md/u/daydaya)
#### Post date: [February 21, 2025, 9:38am UTC](https://community.silverbullet.md/t/issue-with-custom-date-function-not-working-in-navigate-home-command/1829/1 "2025-02-21T09:38:26Z")

</div>

#### **Description:**

The command to return to the homepage doesn’t seem to support custom date functions. Here’s the situation:

- In my settings page, I have configured:  
`indexPage: "[[{{year}}/{{monthNumber}}/{{journalDate}}]]"`

- When I visit my website directly, everything works as expected, displaying something like:  
`2024/02/Friday`.

- However, when I use the `Navigate: Home` command, I get a page with this URL:  
`/undefined/undefined/undefined`.

- If I delete the current page using the command, the system automatically creates a new page with the same `/undefined/undefined/undefined` URL.

- When I use the default `{{today}}` function, everything works fine.

---

<div class="post-metadata">

### Author: ![MrMugame](https://community.silverbullet.md/user_avatar/community.silverbullet.md/mrmugame/32/358_2.png) [@MrMugame](https://community.silverbullet.md/u/MrMugame)
#### Post date: [February 21, 2025, 6:38pm UTC](https://community.silverbullet.md/t/issue-with-custom-date-function-not-working-in-navigate-home-command/1829/2 "2025-02-21T18:38:17Z")

</div>

Should be fixed with [this PR](https://github.com/silverbulletmd/silverbullet/pull/1257)
