Debian Codegraph @

docs/content/en/methods/time/Local.md

raw
1 ---
2 title: Local
3 description: Returns the given time.Time value with the location set to local time.
4 categories: []
5 keywords: []
6 params:
7 functions_and_methods:
8 returnType: time.Time
9 signatures: [TIME.Local]
10 ---
11
12 ```go-html-template
13 {{ $t := time.AsTime "2023-01-28T07:44:58+00:00" }}
14 {{ $t.Local }} → 2023-01-27 23:44:58 -0800 PST
15 ```