You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -203,7 +203,7 @@ If the locale does not exist you will need to create it by using the ``clock`` u
203
203
204
204
.. code-block:: bash
205
205
206
-
./clock locale:dump<your-locale>
206
+
./clock locale:create<your-locale>
207
207
208
208
It will generate a directory in ``pendulum/locales`` named after your locale, with the following
209
209
structure:
@@ -218,7 +218,7 @@ The ``locale.py`` file must not be modified. It contains the translations provid
218
218
the CLDR database.
219
219
220
220
The ``custom.py`` file is the one you want to modify. It contains the data needed
221
-
by Pendulum that are not provided by the CLDR database. You can take the `en <https://github.com/sdispater/pendulum/tree/master/pendulum/locale/en/custom.py>`_
221
+
by Pendulum that are not provided by the CLDR database. You can take the `en <https://github.com/sdispater/pendulum/tree/master/pendulum/locales/en/custom.py>`_
222
222
data as a reference to see which data is needed.
223
223
224
224
You should also add tests for the created or modified locale.
0 commit comments