Skip to content

Commit

Permalink
Fix plural indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
rdswift committed Aug 31, 2023
1 parent b32d424 commit 815efba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
2 changes: 1 addition & 1 deletion functions/func_dateformat.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ If either the ``date`` or ``format`` are invalid an empty string will be returne

.. warning::

Platform-specific formatting codes should be avoided to help ensure the portability of scripts across the different platforms. These codes include: remove zero-padding (e.g.: ``%-d`` and ``%-m`` on Linux or macOS, and their equivalent ``%#d`` and ``%#m`` on Windows); element length specifiers (e.g.: ``%3Y``); and hanging '%' at the end of the format string.
Platform-specific formatting codes should be avoided to help ensure the portability of scripts across the different platforms. These codes include: remove zero-padding (e.g.: ``%-d`` and ``%-m`` on Linux or macOS, and their equivalents ``%#d`` and ``%#m`` on Windows); element length specifiers (e.g.: ``%3Y``); and hanging '%' at the end of the format string.


**Examples:**
Expand Down
14 changes: 4 additions & 10 deletions functions/func_datetime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,18 @@ $datetime
**Description:**

Returns the current date and time in the specified format, which is based on the
standard Python ``strftime`` `format codes <https://strftime.org>`_. If no format is specified
the date and time will be returned in the form '2020-02-15 14:26:32'.
Returns the current date and time in the specified format, which is based on the standard Python ``strftime`` `format codes <https://strftime.org>`_. If no format is specified the date and time will be returned in the form '2020-02-15 14:26:32'.

.. note::

Any special characters such as '%', '$', '(', ')' and '\\' will need to be escaped as shown in the
examples below.
Any special characters such as '%', '$', '(', ')' and '\\' will need to be escaped as shown in the examples below.

.. warning::

Platform-specific formatting codes should be avoided to help ensure the portability
of scripts across the different platforms. These codes include: remove zero-padding (e.g.:
``%-d`` and ``%-m`` on Linux or macOS, and their equivalent ``%#d`` and ``%#m`` on Windows);
element length specifiers (e.g.: ``%3Y``); and hanging '%' at the end of the format string.
Platform-specific formatting codes should be avoided to help ensure the portability of scripts across the different platforms. These codes include: remove zero-padding (e.g.: ``%-d`` and ``%-m`` on Linux or macOS, and their equivalents ``%#d`` and ``%#m`` on Windows); element length specifiers (e.g.: ``%3Y``); and hanging '%' at the end of the format string.


**Example:**
**Examples:**

The following statements will return the values indicated:

Expand Down

0 comments on commit 815efba

Please sign in to comment.