mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-12-01 00:55:22 +00:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bb3604624b | ||
|
|
8591e71a4e |
No files matched your search
+1
-1
@@ -27,7 +27,7 @@
|
||||
"@ng-select/ng-select": "~24.2.1",
|
||||
"@ngneat/dirty-check-forms": "^3.0.3",
|
||||
"@popperjs/core": "^2.11.8",
|
||||
"bootstrap": "^5.3.8",
|
||||
"bootstrap": "^5.3.9",
|
||||
"bootstrap-icons": "^1.13.2",
|
||||
"file-saver": "^2.0.5",
|
||||
"lodash-es": "^4.18.1",
|
||||
|
||||
Generated
+5
-5
@@ -49,8 +49,8 @@ importers:
|
||||
specifier: ^2.11.8
|
||||
version: 2.11.8
|
||||
bootstrap:
|
||||
specifier: ^5.3.8
|
||||
version: 5.3.8(@popperjs/core@2.11.8)
|
||||
specifier: ^5.3.9
|
||||
version: 5.3.9(@popperjs/core@2.11.8)
|
||||
bootstrap-icons:
|
||||
specifier: ^1.13.2
|
||||
version: 1.13.2
|
||||
@@ -2394,8 +2394,8 @@ packages:
|
||||
bootstrap-icons@1.13.2:
|
||||
resolution: {integrity: sha512-fAU1Ly3dH7hwRg+CB8EZ0Vl0fF80zgXHeUVJyfUOKzoURr+TbwISbCW5tKUoQLERaWYG2emTCybcPbD96hdD1A==}
|
||||
|
||||
bootstrap@5.3.8:
|
||||
resolution: {integrity: sha512-HP1SZDqaLDPwsNiqRqi5NcP0SSXciX2s9E+RyqJIIqGo+vJeN5AJVM98CXmW/Wux0nQ5L7jeWUdplCEf0Ee+tg==}
|
||||
bootstrap@5.3.9:
|
||||
resolution: {integrity: sha512-20cU0rcfw8WdxtVbmfU+xT2EjvVTw9Ror/h1Qvd7DXCujRg8OO9mdBCsmTHdJFf3BuadmBNJtgIuUXsBqSkk/w==}
|
||||
peerDependencies:
|
||||
'@popperjs/core': ^2.11.8
|
||||
|
||||
@@ -6409,7 +6409,7 @@ snapshots:
|
||||
|
||||
bootstrap-icons@1.13.2: {}
|
||||
|
||||
bootstrap@5.3.8(@popperjs/core@2.11.8):
|
||||
bootstrap@5.3.9(@popperjs/core@2.11.8):
|
||||
dependencies:
|
||||
'@popperjs/core': 2.11.8
|
||||
|
||||
|
||||
@@ -671,8 +671,8 @@ class TestDocumentSearchApi(DirectoriesMixin, APITestCase):
|
||||
content="things i paid for in august",
|
||||
pk=2,
|
||||
checksum="B",
|
||||
# 1 month, 1 day ago
|
||||
added=timezone.now() - relativedelta(months=1, days=1),
|
||||
# More than 1 month ago, in the search timezone
|
||||
added=timezone.localtime() - relativedelta(months=1, days=7),
|
||||
)
|
||||
d3 = Document.objects.create(
|
||||
title="bank statement 3",
|
||||
@@ -706,6 +706,10 @@ class TestDocumentSearchApi(DirectoriesMixin, APITestCase):
|
||||
@override_settings(
|
||||
TIME_ZONE="America/Denver",
|
||||
)
|
||||
@time_machine.travel(
|
||||
datetime.datetime(2026, 12, 1, 0, 1, tzinfo=datetime.UTC),
|
||||
tick=False,
|
||||
)
|
||||
def test_search_added_in_last_month_timezone_behind(self) -> None:
|
||||
"""
|
||||
GIVEN:
|
||||
@@ -729,8 +733,8 @@ class TestDocumentSearchApi(DirectoriesMixin, APITestCase):
|
||||
content="things i paid for in august",
|
||||
pk=2,
|
||||
checksum="B",
|
||||
# 1 month, 1 day ago
|
||||
added=timezone.now() - relativedelta(months=1, days=1),
|
||||
# More than 1 month ago, in the search timezone
|
||||
added=timezone.localtime() - relativedelta(months=1, days=7),
|
||||
)
|
||||
d3 = Document.objects.create(
|
||||
title="bank statement 3",
|
||||
|
||||
Reference in new issue
Block a user