diff options
| author | Ranke Johannes <johannes.ranke@agroscope.admin.ch> | 2026-02-13 16:13:46 +0100 |
|---|---|---|
| committer | Ranke Johannes <johannes.ranke@agroscope.admin.ch> | 2026-02-13 16:34:09 +0100 |
| commit | 24328f0fabc1982db01132bafb4dc65dd85b13e9 (patch) | |
| tree | 8be05ef33a2f932662841d323ab8e3fd924caf05 /docs/lightswitch.js | |
| parent | a59124dd18106f35e8a965bd173ab80d33ba9c84 (diff) | |
Fix UK drainage for very early applications
Create a function `drainage_date_UK` that does not only respect the
beginning of the drainage period on 1 October, but also the end of the
drainage period on 30 April, and use it for determining the degradation
time. Applications early in the year before 1 May will now correctly be
calculated without degradation time.
Diffstat (limited to 'docs/lightswitch.js')
0 files changed, 0 insertions, 0 deletions
