shorter alarm in future to reduce risk of cross-midnight UTC issue
This commit is contained in:
parent
f5c52eaf3b
commit
aeb3d863e2
3 changed files with 4 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "bouquin"
|
name = "bouquin"
|
||||||
version = "0.6.3"
|
version = "0.6.4"
|
||||||
description = "Bouquin is a simple, opinionated notebook application written in Python, PyQt and SQLCipher."
|
description = "Bouquin is a simple, opinionated notebook application written in Python, PyQt and SQLCipher."
|
||||||
authors = ["Miguel Jacq <mig@mig5.net>"]
|
authors = ["Miguel Jacq <mig@mig5.net>"]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
|
|
||||||
# Clean caches etc
|
# Clean caches etc
|
||||||
/home/user/venv-filedust/bin/filedust -y .
|
/home/user/venv-guardutils/bin/filedust -y .
|
||||||
|
|
||||||
# Publish to Pypi
|
# Publish to Pypi
|
||||||
poetry build
|
poetry build
|
||||||
|
|
|
||||||
|
|
@ -2255,7 +2255,7 @@ def test_parse_today_alarms(qtbot, app, tmp_db_cfg, fresh_db):
|
||||||
window._open_date_in_tab(today_qdate)
|
window._open_date_in_tab(today_qdate)
|
||||||
|
|
||||||
# Set content with a future alarm
|
# Set content with a future alarm
|
||||||
future_time = QTime.currentTime().addSecs(3600) # 1 hour from now
|
future_time = QTime.currentTime().addSecs(5)
|
||||||
alarm_text = f"Do something ⏰ {future_time.hour():02d}:{future_time.minute():02d}"
|
alarm_text = f"Do something ⏰ {future_time.hour():02d}:{future_time.minute():02d}"
|
||||||
|
|
||||||
# Set the editor's current_date attribute
|
# Set the editor's current_date attribute
|
||||||
|
|
@ -2379,7 +2379,7 @@ def test_parse_today_alarms_no_text(qtbot, app, tmp_db_cfg, fresh_db):
|
||||||
window._open_date_in_tab(today_qdate)
|
window._open_date_in_tab(today_qdate)
|
||||||
|
|
||||||
# Set content with alarm but no text
|
# Set content with alarm but no text
|
||||||
future_time = QTime.currentTime().addSecs(3600)
|
future_time = QTime.currentTime().addSecs(5)
|
||||||
alarm_text = f"⏰ {future_time.hour():02d}:{future_time.minute():02d}"
|
alarm_text = f"⏰ {future_time.hour():02d}:{future_time.minute():02d}"
|
||||||
|
|
||||||
window.editor.current_date = today_qdate
|
window.editor.current_date = today_qdate
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue