You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of time zones (TZ) in the Maitreya CLI appears to be malfunctioning. Regardless of the entered time zone offset, the Ascendant calculation remains the same.
Expected Behavior:
The Ascendant calculation should be significantly affected by the time zone offset. Entering positive or negative time zone offsets should result in different Ascendant values.
Examples:
Entering "-11:45" as TZ and "+11:45" as TZ yields the same Ascendant (04°24′45″ Gemini) in the CLI output:
Entering -11:45 as TZ, versus +11:45 as TZ gives the same ascendant:
$ maitreya8t --date="1985-11-16 15:13:00" --location="Testlocation 24:56 60:10 -11.45" --vedicplanets |grep 'tz|Ascendant'
set Location name Testlocation longitude 24,933333 latitude 60,166667 tz -11,450000
Ascendant 04°24′45″ Gemini Scorpio Mrigasira
$ maitreya8t --date="1985-11-16 15:13:00" --location="Testlocation 24:56 60:10 +11.45" --vedicplanets |grep 'tz|Ascendant'
set Location name Testlocation longitude 24,933333 latitude 60,166667 tz 11,450000
Ascendant 04°24′45″ Gemini Scorpio Mrigasira
Giving 0 as TZ still gives the same ascendant:
$ maitreya8t --date="1985-11-16 15:13:00" --location="Testlocation 24:56 60:10 +0" --vedicplanets |grep 'tz|Ascendant'
set Location name Testlocation longitude 24,933333 latitude 60,166667 tz 0,000000
Ascendant 04°24′45″ Gemini Scorpio Mrigasira
Using the same birth data in GUI gives different result than in textclient.
In GUI:
Giving -11:45 in GUI gives 28°19'31" Virgo as ascendant
Giving -11:45 in GUI gives 02°20′01″ Libra as ascendant
Giving -00:00in GUI gives 04°25′18″ Gemini as ascendant
So in GUI the TZ works as it is supposed to, but in CLI textclient it seems to be ignored in the calculations.
The GUI version of Maitreya calculates the Ascendant correctly based on the specified time zone, demonstrating the functionality is possible. Impact:
This bug can lead to inaccurate birth chart interpretations due to incorrect Ascendant calculations. Users relying on the CLI for astrological purposes may be misled. Workaround:
Currently, a workaround is to manually adjust the birth time by the desired time zone offset before using the CLI.
The text was updated successfully, but these errors were encountered:
ossiviljakainen
changed the title
textclient maitreya8t ignoring TZ setting
Time Zone Handling Issue in Maitreya CLI (Ascendant Miscalculation)
Jul 19, 2024
Description:
The current implementation of time zones (TZ) in the Maitreya CLI appears to be malfunctioning. Regardless of the entered time zone offset, the Ascendant calculation remains the same.
Expected Behavior:
The Ascendant calculation should be significantly affected by the time zone offset. Entering positive or negative time zone offsets should result in different Ascendant values.
Examples:
Entering "-11:45" as TZ and "+11:45" as TZ yields the same Ascendant (04°24′45″ Gemini) in the CLI output:
Entering -11:45 as TZ, versus +11:45 as TZ gives the same ascendant:
$ maitreya8t --date="1985-11-16 15:13:00" --location="Testlocation 24:56 60:10 -11.45" --vedicplanets |grep 'tz|Ascendant'
set Location name Testlocation longitude 24,933333 latitude 60,166667 tz -11,450000
Ascendant 04°24′45″ Gemini Scorpio Mrigasira
$ maitreya8t --date="1985-11-16 15:13:00" --location="Testlocation 24:56 60:10 +11.45" --vedicplanets |grep 'tz|Ascendant'
set Location name Testlocation longitude 24,933333 latitude 60,166667 tz 11,450000
Ascendant 04°24′45″ Gemini Scorpio Mrigasira
Giving 0 as TZ still gives the same ascendant:
$ maitreya8t --date="1985-11-16 15:13:00" --location="Testlocation 24:56 60:10 +0" --vedicplanets |grep 'tz|Ascendant'
set Location name Testlocation longitude 24,933333 latitude 60,166667 tz 0,000000
Ascendant 04°24′45″ Gemini Scorpio Mrigasira
Using the same birth data in GUI gives different result than in textclient.
In GUI:
Giving -11:45 in GUI gives 28°19'31" Virgo as ascendant
Giving -11:45 in GUI gives 02°20′01″ Libra as ascendant
Giving -00:00in GUI gives 04°25′18″ Gemini as ascendant
So in GUI the TZ works as it is supposed to, but in CLI textclient it seems to be ignored in the calculations.
The GUI version of Maitreya calculates the Ascendant correctly based on the specified time zone, demonstrating the functionality is possible.
Impact:
This bug can lead to inaccurate birth chart interpretations due to incorrect Ascendant calculations. Users relying on the CLI for astrological purposes may be misled.
Workaround:
Currently, a workaround is to manually adjust the birth time by the desired time zone offset before using the CLI.
The text was updated successfully, but these errors were encountered: