##// END OF EJS Templates
timezone: fix issues with timezone detection of current logic....
timezone: fix issues with timezone detection of current logic. - it was reported that in certain timezones e.g `US/Central` the generated offset was +19:00 which is incorrect and should be -05:00. - we now use a special library for detection of local timezone and use logic of pytz to calculate the offset - fixes #5371

File last commit:

r2205:dd780472 default
r2676:7fe5f77f default
Show More
api.rst
58 lines | 1.2 KiB | text/x-rst | RstLexer
project: added all source files and assets
r1
docs: fixed small wanrings/errors during build.
r1120 ===================
CONTRIBUTING TO API
===================
project: added all source files and assets
r1
Naming conventions
==================
We keep the calls in the form ``{verb}_{noun}``.
Change and Deprecation
======================
docs: updated section on performance, scaling, ssl support
r2205 API deprecation is documented in the section `deprecated` together with
project: added all source files and assets
r1 other notes about deprecated parts of the application.
Deprecated API calls
--------------------
- Use `deprecated` inside of the call docstring to make our users aware of the
deprecation::
.. deprecated:: 1.2.3
Use `new_call_name` instead to fetch this information.
- Make sure to log on level `logging.WARNING` a message that the API call or
specific parameters are deprecated.
- If possible return deprecation information inside of the result from the API
call. Use the attribute `_warning_` to contain a message.
Changed API calls
-----------------
- If the change is significant, consider to use `versionchanged` in the
docstring::
.. versionchanged:: 1.2.3
Optional explanation if reasonable.
Added API calls
---------------
- Use `versionadded` to document since which version this API call is
available::
.. versionadded:: 1.2.3
Optional explanation if reasonable.