Comments (12)
Okay, I see how this feature could be useful for the checkmark widget, so I am reopening the issue. For the main window, however, even though a new column will appear after midnight, you are still free to make changes to any of the previous columns. How would this feature be useful, then?
With Tasker integration, being allowed to specify end/beginning of day becomes a priority IMO. Otherwise it beats the purpose of automatic habit checking. For example, the way I use Tasker is that it does maths on multiple variables, which correspond to different habits, when I start sleep tracking in Sleep As Android. As I never go to bed before midnight, habits checked with Tasker always show on the following day.
from uhabits.
I am not sure I understand the problem. Currently, if a reminder appears at night, but you neglect it until next morning, pressing "check" on the reminder will add a checkmark on the original day. That is, it does not matter when did you press "check" on the reminder; the checkmark should always appear on the day that the reminder was created. If this is not happening, then it's a bug. Please, feel free to reopen the issue in that case.
from uhabits.
My proposal was actually related to the habits in the main window and the individual habit widget, not the reminder.
From a psychological point of view, a new day starts after one wakes up and not after midnight. So therefore it should be possible to tick off habits some hours after midnight, while they take into account the current day, not the next one.
from uhabits.
Okay, I see how this feature could be useful for the checkmark widget, so I am reopening the issue. For the main window, however, even though a new column will appear after midnight, you are still free to make changes to any of the previous columns. How would this feature be useful, then?
from uhabits.
Yes, it's actually related to the checkmark widget and for the, hopefully soon implemented, habit list widget.
from uhabits.
For the main window, however, even though a new column will appear after midnight, you are still free to make changes to any of the previous columns.
True, but you have to pay attention to the column date. Although I can notice it because the new column is empty, it may seem to be so because it has not loaded yet.
from uhabits.
hello... I have just downloaded this app and like it for its simplicity. Thank you for building this app. Just to add my comments and request feature i have created my github account. :)
I also second this feature of allowing us to chose a start time of the day.
Also, if you could think of start day for the week. I would want week to start on Monday. (not sure today what time the week starts)
from uhabits.
Would be great!
from uhabits.
I would also love this. I use the 1x1 widgets on my homescreen, but I often finish some habits after midnight. I'd love to see all my completed habits colored on my homescreen at the end of the day instead of seeing them as black.
I've implemented the preferences part of this with a list that lets you select 1-hour times between midnight and noon for the "end of the day".
@iSoron Any tips for implementation? I could make the entire app follow the "end of day" setting by modifying getStartOfDay and related methods in utils to use the setting. (But I'm not sure what that would do to old timestamps if the user changes the setting.)
Or I could modify just the widget, which means not using getToday() anymore after midnight because I'd have to use getValues() to look up the previous day. And using the older score value. (Initially I thought this would be hairier, but I think some of the utils functions would actually make this easy.)
from uhabits.
Hi @slix, I think this can be implemented by modifying the time functions in the class DateUtils, as you suggested. It might be enough to just modify the method getStartOfToday
. Instead of just calling DateUtils.getLocalTime()
, like you do now, you would need to add some hours to this time.
from uhabits.
Yesterday, on Dec 01, I started Loop at 23:58. While it was loading, date changed to Dec 02. The first column's header kept showing Dec 01, but the column showed the Dec 02 states.
from uhabits.
from uhabits.
Related Issues (20)
- Reminders showing for archived habits HOT 1
- Notifications no longer able to make sticky HOT 1
- Stacked widget(s) unavailable in android 14 HOT 3
- History not showing when change to year view
- Numerical input HOT 2
- DateUtilsTest. getWeekdaysInMonth[jvm] test failing
- "File not recognized" while trying to import exported copy HOT 1
- at-most habit starts at 100% score HOT 6
- 可量化中的目标类型:至多。无法正常添加 HOT 1
- Malfunction with the toggle in settings "use pure black in dark theme" HOT 1
- Bug when I filter 2 times on the same filter HOT 1
- Create a Wear OS version for the app HOT 1
- Score calculation for "at most" measurable habits is incorrect
- Gradle sync error when building the project for the first time HOT 1
- "1 times per week"/"1 times in 7 days" defaulting to "Every 7 days" HOT 4
- Google Play version is higher than on GitHub/F-droid causing endless update notifications
- Gui HOT 1
- Import button fails, probably missing files permission HOT 1
- Wrong Monthly Score Chart (probably)
- Reminders for "at-most" habits never show up HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uhabits.