Local date time

Hi,

New here to SB. I am trying to write queries for task using the built in function with today/tomorrow. But seems it is still taking UTC timezone even though my docker has local time as well as my computer is on a local time. Is this still an issue? Do I need to write my own script for local date/time?

TIA

1 Like

Are you on a recent version? I think a few versions back I changed the default time zone to be whatever the local time is. When I do this:


```template
{{time}}
```

It shows me the local time.


The time in the docker for Silverbullet

and here is the template time

As you can see there is 8 hour difference & yes I am on the latest version in docker.

Regards

@zef - Is there any update, were you able to repro this?

No. Are you in the same timezone as the server (I mean you: your client)?

yep, all in Pacific (PST) zone

I have no idea why this would happen. Do other people see the same issue? I’m always seeing the local time.

You are on version 0.10.x? You can check with Help: Version

i do not know about same issue with others. I am on version 0.10.1

This basically affects the template when I do deadline on tasks… in the evening, it shows that I am due for next day tasks. @zef

I experience this as well in version 0.10.4 running in Docker. I just created a task due tomorrow, and it’s currently showing overdue in my query.