Clarify using gmtime with strftime %z %Z#2306
Conversation
Formatting the tm struct returned from gmtime with strftime %z or %Z will yield unexpected results. We should have a note in our strftime documentation about this since other implementations have a different behavior (the tm struct is extended to include time zone name and offset).
|
@stwish-msft : Thanks for your contribution! The author(s) have been notified to review your proposed change. |
TylerMSFT
left a comment
There was a problem hiding this comment.
Code elements should be in back-tick (`) so that machine translation doesn't translate them. This bold style is all over in the C runtime docs but we will be changing it. Do you mind putting the code elements in back-tick (code) style?
|
@stwish-msft , now all you have to do is put #sign-off in a comment and the PR reviewers will review and merge. |
|
#sign-off |
|
@stwish-msft: I'm sorry - only the author of this article, @TylerMSFT, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias. |
|
@TylerMSFT Seems like only you have sign off permissions? |
Formatting the tm struct returned from gmtime with strftime %z or %Z will yield unexpected results. We should have a note in our strftime documentation about this since other implementations have a different behavior (the tm struct is extended to include time zone name and offset).