feat: add conversions from tailnet to proto (#10441)

Adds conversions from existing tailnet types to protobuf
This commit is contained in:
Spike Curtis
2023-11-01 10:54:00 +04:00
committed by GitHub
parent f4026edd71
commit 6882e8e524
3 changed files with 293 additions and 2 deletions
+2 -2
View File
@@ -223,12 +223,12 @@ func TestTimezoneOffsets(t *testing.T) {
// Name: "Central",
// Loc: must(time.LoadLocation("America/Chicago")),
// ExpectedOffset: -5,
//},
// },
//{
// Name: "Ireland",
// Loc: must(time.LoadLocation("Europe/Dublin")),
// ExpectedOffset: 1,
//},
// },
{
Name: "HalfHourTz",
// This timezone is +6:30, but the function rounds to the nearest hour.