Christopher C. Wells
e27f7b76a0
Use Django 3.2 timesince depth parameter for child age
2021-04-11 13:35:07 -07:00
Christopher C. Wells
b009a0bebc
Revert timesince chunks after monkey patch ( fixes #181 )
2021-01-03 19:08:11 -08:00
Christopher C. Wells
95a2cdf06d
Use day precision for child age ( #167 )
2020-10-25 20:06:21 -07:00
Christopher C. Wells
d5509bdb52
Fix linting issues
2019-11-09 16:42:51 -08:00
Christopher C. Wells
4f84482803
Add translation support to `duration_string` utility
2019-11-09 16:42:51 -08:00
Christopher C. Wells
efc613c637
Fix minor linting issues.
2019-02-02 19:17:25 -08:00
Christopher Charbonneau Wells
5dc372281b
Remove all unicode_literals imports.
2018-02-17 17:09:40 -05:00
Christopher Charbonneau Wells
0d7382407c
Refactor some utils functions sligthly and add tests.
2017-10-30 20:45:46 -04:00
Christopher Charbonneau Wells
e90e31cfd3
Add "Averages" dashboard card.
2017-10-30 14:26:49 -04:00
Christopher Charbonneau Wells
43edfddd82
Move "short" duration string function to graphs and exclude seconds.
2017-09-25 11:40:15 -04:00
Christopher Charbonneau Wells
f4d94a3ca0
Add a short string duration utility function.
2017-09-13 14:07:51 -04:00
Christopher Charbonneau Wells
a9bc52dfff
Move timer_stop to a model method and add a restart method.
2017-09-09 12:47:41 -04:00
Christopher Charbonneau Wells
7f5a40ae41
Add ability to stop a timer (WIP).
...
This commit handles everything except including the timer in the timers list in the UI. This may require changing the model declaration to make the "active" field more complex or add another field.
2017-09-08 14:36:22 -04:00
Christopher Charbonneau Wells
9d0572ba92
Move duration methods in to utils for use elsewhere in the project.
2017-08-25 16:33:14 -04:00
Christopher Charbonneau Wells
6d73cb69f6
Convert duration_string to a template tag (WIP).
2017-08-19 16:46:50 -04:00
Christopher Charbonneau Wells
f08ec94e3c
Stop timer on instance save instead of form load.
2017-08-18 01:53:48 -04:00
Christopher Charbonneau Wells
1185addace
Add a short param to the duration_string for XhXmXs formatted durations.
2017-08-16 19:08:52 -04:00
Christopher Charbonneau Wells
a234799418
Add a queryset param filter utility function.
2017-08-13 16:26:52 -04:00
Christopher Charbonneau Wells
c5c3c4b030
Simplify duration string function.
2017-08-13 15:27:32 -04:00
Christopher Charbonneau Wells
481ada74f8
Add Feeding model.
2017-08-13 11:59:14 -04:00