GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||
GeezerVison is showing github.com — bpo-9004: Recommend against using utctimetuple in the docs. by abalkin · Pull Request #10870 · python/cpython Conversation
|
|
@abalkin please add a news entry. You can use https://blurb-it.herokuapp.com/ to do this. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| If *tz* is not ``None``, it must be an instance of a :class:`tzinfo` subclass, and the | ||
| current date and time are converted to *tz*’s time zone. In this case the | ||
| result is equivalent to ``tz.fromutc(datetime.utcnow().replace(tzinfo=tz))``. | ||
| It is recommended to create aware datetime object for current UTC time by |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Am not a native english speaker but shouldn't this "It is recommended to create aware datetime object " be "It is recommended to create an aware datetime object for current" or "be "It is recommended to create aware datetime objects for current"
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Am not a native english speaker neither but I'd propose:
The recommended way to create aware datetime object for the current time in UTC is ...
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
cc @pganssle |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I think maybe we should consolidate this into #15773. @nanjekyejoannah Do you mind adding a similar warning box to |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Closed in favor of #15773 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.