A simple shared budget manager web application
Find a file
Baptiste Jonglez 914482bc76 Use Flask-Babel to localize datetime in the History Page
By formatting datetime on the server, we get nice localized datetime
strings that are adapted to the currently-selected language.  Example:

- English: "Apr 26, 2020, 3:58:54 PM"
- French: "26 avr. 2020 à 15:58:54"
- German: "26.04.2020, 15:58:54"
- Spanish: "26 abr. 2020 15:58:54"
- Indonesian: "26 Apr 2020 15.58.54"
- Chinese: "2020年4月26日 下午3:58:54"

However, there is a downside: time is not adapted to the user timezone.

The solution is to define a timezone on the server: we use the server OS
timezone by default, and it can be customized through the
BABEL_DEFAULT_TIMEZONE setting.  It's still not ideal, because it assumes
that all users are in the same timezone (the one configured on the server).
2020-11-13 21:40:39 +01:00
conf Misc small updates (#536) 2020-02-23 19:27:39 +01:00
docs Bump sphinx from 3.3.0 to 3.3.1 (#696) 2020-11-13 21:37:32 +01:00
ihatemoney Use Flask-Babel to localize datetime in the History Page 2020-11-13 21:40:39 +01:00
.gitignore Feature/currencies (#541) 2020-04-29 22:57:08 +02:00
.isort.cfg Add isort support. (#561) 2020-04-21 13:59:41 +02:00
.travis.yml Remove obsolete python code (<3.6). (#571) 2020-04-24 12:32:52 +02:00
CHANGELOG.rst Add 'pt_BR' and 'ta' to default languages, update changelog 2020-07-18 01:05:22 +02:00
CONTRIBUTORS Integrate illustrations as a showcase (#544) 2020-05-07 22:34:31 +02:00
Dockerfile [docker] Download IHM from Pypy or reference git repo; 2019-07-31 13:02:03 +02:00
LICENSE Re-organize the documentation (#223) 2017-06-21 14:03:16 +02:00
Makefile Switch to isort 5 (#669) 2020-08-05 22:56:43 +02:00
MANIFEST.in Update known working set. (#558) 2020-04-21 10:30:13 +02:00
README.rst Add weblate translation status to the README (#574) 2020-04-25 11:50:45 +02:00
setup.cfg Switch to isort 5 (#669) 2020-08-05 22:56:43 +02:00
setup.py Remove support for python2. 2019-10-11 19:52:37 +02:00
tox.ini Remove obsolete python code (<3.6). (#571) 2020-04-24 12:32:52 +02:00

I hate money
############

.. image:: https://travis-ci.org/spiral-project/ihatemoney.svg?branch=master
   :target: https://travis-ci.org/spiral-project/ihatemoney
   :alt: Travis CI Build Status

.. image:: https://hosted.weblate.org/widgets/i-hate-money/-/i-hate-money/svg-badge.svg
   :target: https://hosted.weblate.org/engage/i-hate-money/?utm_source=widget
   :alt: Translation status from Weblate

*I hate money* is a web application made to ease shared budget management.
It keeps track of who bought what, when, and for whom; and helps to settle the
bills.

* `Online documentation <https://ihatemoney.readthedocs.org>`_
* `Hosted version <https://ihatemoney.org>`_
* `Mailing list <https://mailman.alwaysdata.com/postorius/lists/info.ihatemoney.org/>`_
  (to get updates when needed).

The code is distributed under a BSD *beerware* derivative: if you meet the
people in person and you want to pay them a craft beer, you are highly
encouraged to do so.

Requirements
============

* **Python**: 3.6, 3.7, 3.8.
* **Backends**: MySQL, PostgreSQL, SQLite, Memory.

Contributing
============

Do you wish to contribute to IHateMoney? Fantastic! There's a lot of very
useful help on the official `contributing
<https://ihatemoney.readthedocs.io/en/latest/contributing.html>`_ page.

Translation status
==================

.. image:: https://hosted.weblate.org/widgets/i-hate-money/-/i-hate-money/multi-blue.svg
   :target: https://hosted.weblate.org/engage/i-hate-money/?utm_source=widget
   :alt: Translation status for each language