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

Create SunCalc.py #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

MarkusScherrer
Copy link

@MarkusScherrer MarkusScherrer commented Dec 23, 2022

How can I get rid of that error?
AttributeError: type object 'datetime.datetime' has no attribute 't'
SunCalc.zip

@TriptiGoyalCodes
Copy link

TriptiGoyalCodes commented Dec 28, 2022

if you are using DATETIME as dt
then in the program use datetime as dt too.

import datetime as dt

t = ts.utc(2022, 1, range(1, 13))
now = myzone.localize(dt.t())

@TriptiGoyalCodes
Copy link

TriptiGoyalCodes commented Dec 28, 2022

do not use both things.

@SIMJO7747

This comment was marked as spam.

@MarkusScherrer
Copy link
Author

MarkusScherrer commented Dec 29, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants