mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Fix timezone issues
This commit is contained in:
@@ -102,6 +102,7 @@ public class HabitHistoryView extends ScrollableDataView
|
||||
private void updateDate()
|
||||
{
|
||||
baseDate = new GregorianCalendar();
|
||||
baseDate.setTimeInMillis(DateHelper.getLocalTime());
|
||||
baseDate.add(Calendar.DAY_OF_YEAR, -(getDataOffset() - 1) * 7);
|
||||
|
||||
nDays = (nColumns - 1) * 7;
|
||||
|
||||
Reference in New Issue
Block a user