Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/core/StelCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2239,9 +2239,9 @@ void StelCore::updateTime(double deltaTime)
JD.first = jdOfLastJDUpdate + (QDateTime::currentMSecsSinceEpoch() - milliSecondsOfLastJDUpdate) / 1000.0 * timeSpeed;
}

// Fix time limits to -100000 to +100000 to prevent bugs
if (JD.first>38245309.499988) JD.first = 38245309.499988;
if (JD.first<-34803211.500012) JD.first = -34803211.500012;
// Fix time limits to -200000 to +200000 to prevent bugs
if (JD.first>74769924.499988) JD.first = 74769924.499988;
if (JD.first<-71328212.500012) JD.first = -71328212.500012;
JD.second=computeDeltaT(JD.first);

if (position->isObserverLifeOver())
Expand Down
6 changes: 3 additions & 3 deletions src/gui/dateTimeDialogGui.ui
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</property>
<item row="0" column="0">
<widget class="TitleBar" name="titleBar">
<property name="title">
<property name="title" stdset="0">
<string>Date and Time</string>
</property>
</widget>
Expand Down Expand Up @@ -103,10 +103,10 @@
<set>Qt::AlignCenter</set>
</property>
<property name="minimum">
<number>-100000</number>
<number>-200000</number>
</property>
<property name="maximum">
<number>100000</number>
<number>200000</number>
</property>
</widget>
</item>
Expand Down
Loading