chellow 1706691842.0.0__py3-none-any.whl → 1706803240.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of chellow might be problematic. Click here for more details.

@@ -13,11 +13,12 @@
13
13
  <input type="hidden" name="resolution" value="{{resolution}}">
14
14
 
15
15
  {% if initial %}
16
- {{input_hidden(year_name, initial=initial.year)}}
17
- {{input_hidden(month_name, initial=initial.month)}}
18
- {{input_hidden(day_name, initial=initial.day)}}
19
- {{input_hidden(hour_name, initial=initial.hour)}}
20
- {{input_hidden(minute_name, initial=initial.minute)}}
16
+ {% set initial_ct = initial|to_ct %}
17
+ {{input_hidden(year_name, initial=initial_ct.year)}}
18
+ {{input_hidden(month_name, initial=initial_ct.month)}}
19
+ {{input_hidden(day_name, initial=initial_ct.day)}}
20
+ {{input_hidden(hour_name, initial=initial_ct.hour)}}
21
+ {{input_hidden(minute_name, initial=initial_ct.minute)}}
21
22
  {% else %}
22
23
  {{input_hidden(year_name, initial=None)}}
23
24
  {{input_hidden(month_name, initial=None)}}
chellow/views.py CHANGED
@@ -2459,7 +2459,7 @@ def input_date_get():
2459
2459
 
2460
2460
  month_max_day = (ct_datetime(year, month, 1) + relativedelta(months=1) - HH).day
2461
2461
 
2462
- initial = ct_datetime(year, month, min(day, month_max_day), hour, minute)
2462
+ initial = to_utc(ct_datetime(year, month, min(day, month_max_day), hour, minute))
2463
2463
 
2464
2464
  return render_template(
2465
2465
  "input_date.html",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: chellow
3
- Version: 1706691842.0.0
3
+ Version: 1706803240.0.0
4
4
  Summary: Web Application for checking UK energy bills.
5
5
  Project-URL: Homepage, https://github.com/WessexWater/chellow
6
6
  Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
@@ -11,7 +11,7 @@ chellow/proxy.py,sha256=cVXIktPlX3tQ1BYcwxq0nJXKE6r3DtFTtfFHPq55HaM,1351
11
11
  chellow/rate_server.py,sha256=XFcyKgo2r7GBybm6TRLBaBRqDpgk4vmhqgRoM3nflXM,5626
12
12
  chellow/testing.py,sha256=Od4HHH6pZrhJ_De118_F55RJEKmAvhUH2S24QE9qFQk,3635
13
13
  chellow/utils.py,sha256=32qPWEGzCPKPhSM7ztpzcR6ZG74sVZanScDIdK50Rq4,19308
14
- chellow/views.py,sha256=FHQfRYh35Bz38l5LL4l3OzjrHwMJU0y41waIlYRXkxI,78512
14
+ chellow/views.py,sha256=_vkjpoprfhIAzbaDlBYf2ewfsJXcthY_t9tfjrcMK9g,78520
15
15
  chellow/e/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  chellow/e/aahedc.py,sha256=d2usudp7KYWpU6Pk3fal5EQ47EbvkvKeaFGylnb3NWw,606
17
17
  chellow/e/bill_importer.py,sha256=y1bpn49xDwltj0PRFowWsjAVamcD8eyxUbCTdGxEZiE,7389
@@ -121,7 +121,7 @@ chellow/templates/home.html,sha256=_ANKmcnlk_PDyZl6SCmejU8d90f3t8EH_rDDPDyYUwE,5
121
121
  chellow/templates/input_date.html,sha256=rpgB5n0LfN8Y5djN_ZiuSxqdskxzCoKrEqI7hyJkVQo,1248
122
122
  chellow/templates/local_report.html,sha256=pV7_0QwyQ-D3OS9LXrly5pq3qprZnwTCoq6vCnMTkS4,1332
123
123
  chellow/templates/local_reports.html,sha256=4wbfVkY4wUfSSfWjxqIsvCpIsa9k7H_dGAjznrG5jNM,701
124
- chellow/templates/macros.html,sha256=Koc8dT2pZaO2-iVm9RQiR_V3qymSZ_3iaKe2rCyrvgk,4974
124
+ chellow/templates/macros.html,sha256=9sGRgLxLmhYTIstfL3MgUDFIoRV89SlwPHmuvMqh-UI,5029
125
125
  chellow/templates/national_grid.html,sha256=8W92tsjlqPSB0J--nyFIi-wzFae9CyDr6fODXLZp8ic,991
126
126
  chellow/templates/non_core_auto_importer.html,sha256=s9SluRN1bHTHjd8GP6uFhk6LrZYG8dqBG3y94zUKe5Q,944
127
127
  chellow/templates/non_core_contract.html,sha256=BdGtxErTvw4DwXLb6B2vimuU6ode3fFA-90kBmHCwYc,1754
@@ -363,6 +363,6 @@ chellow/templates/g/supply_note_edit.html,sha256=6UQf_qbhFDys3cVsTp-c7ABWZpggW9R
363
363
  chellow/templates/g/supply_notes.html,sha256=WR3YwGh_qqTklSJ7JqWX6BKBc9rk_jMff4RiWZiF2CM,936
364
364
  chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
365
365
  chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
366
- chellow-1706691842.0.0.dist-info/METADATA,sha256=L3rxfmbWGPmkWihil72bLkI0vYaKsC3jxz5YPxnmbZ0,12203
367
- chellow-1706691842.0.0.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
368
- chellow-1706691842.0.0.dist-info/RECORD,,
366
+ chellow-1706803240.0.0.dist-info/METADATA,sha256=eS7h8kUbbn3KHM1frcHE5TJ-nYwOMuH4tt_6iiugPB8,12203
367
+ chellow-1706803240.0.0.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
368
+ chellow-1706803240.0.0.dist-info/RECORD,,