Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

time: add Time.IsDST() to check if its Location is in Daylight Savings Time #42103

Closed
wants to merge 8 commits into from

Conversation

jufemaiz
Copy link
Contributor

Fixes #42102

@google-cla google-cla bot added the cla: yes Used by googlebot to label PRs as having a valid CLA. The text of this label should not change. label Oct 21, 2020
@gopherbot
Copy link
Contributor

This PR (HEAD: 4a09563) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/go/+/264077 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

Message from Go Bot:

Patch Set 1:

Congratulations on opening your first change. Thank you for your contribution!

Next steps:
A maintainer will review your change and provide feedback. See
https://golang.org/doc/contribute.html#review for more info and tips to get your
patch through code review.

Most changes in the Go project go through a few rounds of revision. This can be
surprising to people new to the project. The careful, iterative review process
is our way of helping mentor contributors and ensuring that their contributions
have a lasting impact.

During May-July and Nov-Jan the Go project is in a code freeze, during which
little code gets reviewed or merged. If a reviewer responds with a comment like
R=go1.11 or adds a tag like "wait-release", it means that this CL will be
reviewed as part of the next development cycle. See https://golang.org/s/release
for more details.


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Matt Layher:

Patch Set 1: Code-Review-2

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Matt Layher:

Patch Set 1: Run-TryBot+1 -Code-Review

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Go Bot:

Patch Set 1:

TryBots beginning. Status page: https://farmer.golang.org/try?commit=5fa535c2


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Go Bot:

Patch Set 1:

Build is still in progress...
This change failed on misc-compile-darwinarm64:
See https://storage.googleapis.com/go-build-log/5fa535c2/misc-compile-darwinarm64_7402c16e.log

Other builds still in progress; subsequent failure notices suppressed until final report. Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test exactly your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed.


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Go Bot:

Patch Set 1: TryBot-Result-1

1 of 21 TryBots failed:
Failed on misc-compile-darwinarm64: https://storage.googleapis.com/go-build-log/5fa535c2/misc-compile-darwinarm64_7402c16e.log

Consult https://build.golang.org/ to see whether they are new failures. Keep in mind that TryBots currently test exactly your git commit, without rebasing. If your commit's git parent is old, the failure might've already been fixed.


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Ian Lance Taylor:

Patch Set 1:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Emmanuel Odeke:

Patch Set 1: Trust+1

(7 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

This PR (HEAD: 8997f16) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/go/+/264077 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@jufemaiz jufemaiz changed the title time: add IsDST function on a Location for a given Time time: add Time.IsDST() bool method Mar 15, 2021
@jufemaiz jufemaiz marked this pull request as draft March 15, 2021 01:20
@gopherbot
Copy link
Contributor

This PR (HEAD: f5f7370) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/go/+/264077 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@jufemaiz jufemaiz marked this pull request as ready for review March 15, 2021 02:38
@odeke-em odeke-em changed the title time: add Time.IsDST() bool method time: add Time.IsDST() to check if is Location is within a Daylight Savings Time zone Mar 15, 2021
@odeke-em odeke-em changed the title time: add Time.IsDST() to check if is Location is within a Daylight Savings Time zone time: add Time.IsDST() to check if its Location is in Daylight Savings Time Mar 15, 2021
@gopherbot
Copy link
Contributor

Message from Emmanuel Odeke:

Patch Set 6: Code-Review+1 Trust+1

(10 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Emmanuel Odeke:

Patch Set 6: Run-TryBot+1


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Go Bot:

Patch Set 6:

TryBots beginning. Status page: https://farmer.golang.org/try?commit=60c20ee2


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Go Bot:

Patch Set 6: TryBot-Result+1

TryBots are happy.


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

This PR (HEAD: 0b6b294) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/go/+/264077 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

This PR (HEAD: dc6ca15) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/go/+/264077 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

Message from Joel Courtney:

Patch Set 7:

(6 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Emmanuel Odeke:

Patch Set 8: Run-TryBot+1 Code-Review+1 Trust+1

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Go Bot:

Patch Set 8:

SlowBots beginning. Status page: https://farmer.golang.org/try?commit=06d179fe


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Go Bot:

Patch Set 8: TryBot-Result+1

SlowBots are happy.

SlowBot builds that ran:

  • solaris-amd64-oraclerel
  • windows-amd64-2016

Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Tobias Klauser:

Patch Set 8:

(2 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

This PR (HEAD: ce1e9e7) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/go/+/264077 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

Message from Joel Courtney:

Patch Set 9:

(3 comments)


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Tobias Klauser:

Patch Set 9: Run-TryBot+1 Code-Review+1

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Go Bot:

Patch Set 9:

SlowBots beginning. Status page: https://farmer.golang.org/try?commit=be9d65c4


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Go Bot:

Patch Set 9: TryBot-Result+1

SlowBots are happy.

SlowBot builds that ran:

  • solaris-amd64-oraclerel
  • windows-amd64-2016

Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Emmanuel Odeke:

Patch Set 9: Trust+1

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

This PR (HEAD: 87d4373) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/go/+/264077 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

Message from Ian Lance Taylor:

Patch Set 10:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Ian Lance Taylor:

Patch Set 10:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Joel Courtney:

Patch Set 10:

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

This PR (HEAD: bbfa921) has been imported to Gerrit for code review.

Please visit https://go-review.googlesource.com/c/go/+/264077 to see it.

Tip: You can toggle comments from me using the comments slash command (e.g. /comments off)
See the Wiki page for more info

@gopherbot
Copy link
Contributor

Message from Ian Lance Taylor:

Patch Set 11: Run-TryBot+1


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Go Bot:

Patch Set 11:

SlowBots beginning. Status page: https://farmer.golang.org/try?commit=7bb982de


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Go Bot:

Patch Set 11: TryBot-Result+1

SlowBots are happy.

SlowBot builds that ran:

  • solaris-amd64-oraclerel
  • windows-amd64-2016

Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Emmanuel Odeke:

Patch Set 11: Code-Review+1 Trust+1


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

@gopherbot
Copy link
Contributor

Message from Rob Pike:

Patch Set 11: Code-Review+2

(1 comment)


Please don’t reply on this GitHub thread. Visit golang.org/cl/264077.
After addressing review feedback, remember to publish your drafts!

gopherbot pushed a commit that referenced this pull request Mar 16, 2021
…s Time

Fixes #42102

Change-Id: I2cd2fdf67c794c3e99ed1c24786f7f779da73962
GitHub-Last-Rev: bbfa921
GitHub-Pull-Request: #42103
Reviewed-on: https://go-review.googlesource.com/c/go/+/264077
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Rob Pike <r@golang.org>
Trust: Emmanuel Odeke <emmanuel@orijtech.com>
@gopherbot
Copy link
Contributor

This PR is being closed because golang.org/cl/264077 has been merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Used by googlebot to label PRs as having a valid CLA. The text of this label should not change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

time: add Time.IsDST() bool method
2 participants