13 Commits

Author SHA1 Message Date
Michael Shamoon
73cf64f879 Always accept yyyy-mm-dd date inputs 2022-05-01 21:38:04 -07:00
Michael Shamoon
bd4a705769 Prettier code cleanup for .ts files
See #182
2022-03-11 11:58:19 -08:00
Michael Shamoon
31ad071cbb more code cleanup 2022-03-11 00:52:32 -08:00
Michael Shamoon
8250cdf714 code cleanup 2022-03-11 00:48:06 -08:00
Michael Shamoon
b6a75b6206 Move padding into date formatter 2022-03-11 00:28:06 -08:00
Michael Shamoon
51e1336af3 fix comment 2022-03-10 15:27:02 -08:00
Michael Shamoon
548f6a41ae Allow formatting non-padded dates 2022-03-10 15:17:32 -08:00
Michael Shamoon
5872584aa6 Code formatting 2022-03-10 15:17:32 -08:00
Michael Shamoon
e2abd36ec7 strip all delimiters 2022-03-10 15:17:31 -08:00
Michael Shamoon
0708da5b67 semicolon 2022-03-10 15:17:31 -08:00
Viktor
efbe34b114 Parse dates when entered without separators
This adds date dividers if none are entered.
It also adds the current year if it wasn't entered.

This allows users to just enter 1003, 100322, 10032022 and
have it expanded to 10.03.2022, in the case of the German format.
(All other formats are also supported)

It also replaces commas with the date divider.
This allows quick entry of the date on the numpad.
2022-03-10 21:31:54 +01:00
Michael Lynch
96738277d9 Normalize whitespace in source files
Ensure that no source files have trailing whitespace at end of lines and ensure that all files end with a single trailing newline.

This also adds Github Actions to enforce whitespace conventions.
2021-06-13 10:57:40 -04:00
jonaswinkler
f35dcf1675 use ng-bootstrap date selector, with proper formatting/parsing according to the current locale #177 2021-02-24 18:00:26 +01:00