Skip to content

Rename tm_gmtoff to tm_utcoff#1

Merged
alexcrichton merged 1 commit intotime-rs:masterfrom
barosl:gmtoff-to-utcoff
Nov 11, 2014
Merged

Rename tm_gmtoff to tm_utcoff#1
alexcrichton merged 1 commit intotime-rs:masterfrom
barosl:gmtoff-to-utcoff

Conversation

@barosl
Copy link
Copy Markdown

@barosl barosl commented Nov 11, 2014

This pull request was extracted from rust-lang/rust#18832.

Rename the tm_gmtoff field of time::Tm to tm_utcoff.

Although GMT and UTC are commonly used interchangeably, UTC is more
appropriate to denote the time standard.

Python, for example, uses datetime.utcoffset() to represent the offset
from UTC.

[breaking-change]
@alexcrichton
Copy link
Copy Markdown

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants