Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time Zone Handling Issue in Maitreya CLI (Ascendant Miscalculation) #87

Open
ossiviljakainen opened this issue Jul 19, 2024 · 0 comments

Comments

@ossiviljakainen
Copy link

ossiviljakainen commented 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.

@ossiviljakainen ossiviljakainen changed the title textclient maitreya8t ignoring TZ setting Time Zone Handling Issue in Maitreya CLI (Ascendant Miscalculation) Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant