Commit Graph

18 Commits

Author SHA1 Message Date
258dfefe2d
Remove stray newline 2024-08-29 15:21:36 +10:00
e016afbf45
Fix Chrome/Edge compatibility
Chrome does not support valueAsDate on datetime-local inputs
2024-08-28 08:58:41 +10:00
4e4248a9ae
Tweak margins of result panel 2024-08-27 18:20:05 +10:00
74ea5172c8
Unit tests for description of bilirubin result 2024-08-27 18:00:37 +10:00
030609b45e
Refactor bilirubin vs threshold calculation 2024-08-27 17:53:55 +10:00
f669061d65
Unit tests for dateToISOStringLocal 2024-08-27 17:44:23 +10:00
4b13e48e9f
Unit tests for bilirubin pretty printing 2024-08-27 17:44:14 +10:00
af54b53fd2
Unit tests for pretty printing ages 2024-08-27 17:36:31 +10:00
8b39e849b1
Round 23.5 hours+ to the next day when pretty printing 2024-08-27 17:36:00 +10:00
9f40645d8a
Refactor age pretty printing 2024-08-27 17:35:25 +10:00
b2f71133ae
Add unit tests for threshold calculations 2024-08-27 17:14:45 +10:00
acb0aeffa8
Limit minimum gestation to 23 weeks as per NICE thresholds 2024-08-27 17:13:23 +10:00
f8e26d4e4d
Refactor code into lib and app 2024-08-27 16:17:45 +10:00
de27115917
Show measurement in tooltip on hover 2024-08-27 11:57:02 +10:00
0a6bbc9980
Add padding 2024-08-27 11:42:44 +10:00
c9f5fd1082
Do not display result if invalid inputs 2024-08-26 18:45:07 +10:00
c1f2b0c908
Auto-fill current time in correct time zone
We cannot use valueAsDate because this converts to UTC which is not desired
2024-08-26 18:36:59 +10:00
3bf624f9dd
Initial commit 2024-08-26 17:36:36 +10:00