Skip to content

Conversation

@MarkusScherrer
Copy link

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

@TriptiGoyalCodes
Copy link

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

do not use both things.

@SIMJO7747

This comment was marked as spam.

@MarkusScherrer
Copy link
Author

MarkusScherrer commented Dec 29, 2022 via email

@carolynrenahuggins
Copy link

carolynrenahuggins commented Jan 15, 2023 via email

@MarkusScherrer
Copy link
Author

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())

@MarkusScherrer MarkusScherrer deleted the patch-1 branch March 7, 2023 14:09
reneroliveira added a commit to reneroliveira/codespaces-blank that referenced this pull request Jul 23, 2023
ishpaul777 pushed a commit to ishpaul777/codespaces-blank that referenced this pull request Aug 28, 2023
rcruz63 added a commit to rcruz63/codespaces-blank that referenced this pull request Dec 8, 2023
CThomson2 pushed a commit to CThomson2/codespaces-blank that referenced this pull request Feb 16, 2024
ctcncgr pushed a commit to ctcncgr/codespaces-blank that referenced this pull request Jun 18, 2024
IbrahimUsmani118 pushed a commit to IbrahimUsmani118/codespaces-blank that referenced this pull request Jun 24, 2024
Legolas2222 added a commit to Legolas2222/codespaces-blank that referenced this pull request Jun 25, 2024
* Feat: Added Middleware for catching double register (github#1)

error; now returns general
error. Still needs work

* Create dotnet-desktop-build.yml

Feat: First Prototype for build routine using github actions

* PS-Fix-Update dotnet-desktop-build.yml

Updated the dotnet-desktop-build.yml to be able to get the CICD pipeline to work
Legolas2222 added a commit to Legolas2222/codespaces-blank that referenced this pull request Jun 25, 2024
* Feat: Added Middleware for catching double register
error; now returns general
error. Still needs work

* Legolas2222-Feature add Build pipeline to development branch (github#4)

* Feat: Added Middleware for catching double register (github#1)

error; now returns general
error. Still needs work

* Create dotnet-desktop-build.yml

Feat: First Prototype for build routine using github actions

* PS-Fix-Update dotnet-desktop-build.yml

Updated the dotnet-desktop-build.yml to be able to get the CICD pipeline to work

* Removed the desktop build yml file from the branch to save automation costs on the development branch (github#5)

* Added support for basic Todo domain (github#6)

* Added support for basic Todo Domain, including infrastructure and the todo controller

* Added support for adding and getting Todos, with a
todoRepository and its in-memory implementation

* Fixed: Changed the todos controller base access modifier to public, so now it is registered as a new route

* Added the Hoppscotch config file to the project file structure to have all resources
in the same place

* Fixed the endpoint for getting a todo by its guid.
Still needs work, error handling has to be done

* Removed testing endpoint with warning
Legolas2222 added a commit to Legolas2222/codespaces-blank that referenced this pull request Jun 25, 2024
* Feat: Added Middleware for catching double register
error; now returns general
error. Still needs work

* Legolas2222-Feature add Build pipeline to development branch (github#4)

* Feat: Added Middleware for catching double register (github#1)

error; now returns general
error. Still needs work

* Create dotnet-desktop-build.yml

Feat: First Prototype for build routine using github actions

* PS-Fix-Update dotnet-desktop-build.yml

Updated the dotnet-desktop-build.yml to be able to get the CICD pipeline to work

* Removed the desktop build yml file from the branch to save automation costs on the development branch (github#5)

* Added support for basic Todo domain (github#6)

* Added support for basic Todo Domain, including infrastructure and the todo controller

* Added support for adding and getting Todos, with a
todoRepository and its in-memory implementation

* Fixed: Changed the todos controller base access modifier to public, so now it is registered as a new route

* Added the Hoppscotch config file to the project file structure to have all resources
in the same place

* Fixed the endpoint for getting a todo by its guid.
Still needs work, error handling has to be done

* Removed testing endpoint with warning

* Legolas2222 feature custom error handling (github#9)

* Continuation to the end of the Error Handling episode of the DDD Series

* Added the option for an Errors Controller and more generic
Error handling,
finished episode 6 of .NET
DDD Series

* Legolas2222 Simple CQRS Implementation (github#11)

* Worked on CQRS implementation of episode 6 until 8:11 of the DDD .NET series

* Added the MediatR package, and updated the DI package

* Moved all the subfolders into a src folder, for better structure and ability to unit-test (github#12)

* Removed wrong files

* Fixed path to build file for the build pipeline
mtapia01 pushed a commit to mtapia01/codespaces-blank that referenced this pull request Sep 4, 2024
IbrahimUsmani118 pushed a commit to IbrahimUsmani118/codespaces-blank that referenced this pull request Oct 26, 2024
Bzcasper pushed a commit to Bzcasper/codespaces-blank that referenced this pull request May 18, 2025
Just keeping this up to date since we reverted back to the original logo from github#4 
Great continued work on this project!!!
Asfm445 pushed a commit to Asfm445/codespaces-blank that referenced this pull request Aug 1, 2025
srithanusunset pushed a commit to srithanusunset/codespaces-blank that referenced this pull request Oct 23, 2025
AnsonShie pushed a commit to AnsonShie/codespaces-blank that referenced this pull request Oct 30, 2025
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

Successfully merging this pull request may close these issues.

5 participants