Giter Site home page Giter Site logo

ct-todo's People

Contributors

helmbold avatar quaquaro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ct-todo's Issues

Falsche Zeitberechnung in TaskRepositoryTest.kt

Der Test mit dem in der Datenbank gespeicherten dueDate schlägt jetzt in der Sommrzeit natürlich fehl.

    val date = LocalDateTime.of(
      2020, 3, 23, 12, 0, 0, 0
    ).atOffset(
      ZoneOffset.systemDefault()
        .rules
        .getOffset(LocalDateTime.now())
    )

Müsste es nicht eigentlich so lauten:

    val localDate = LocalDateTime.of(
      2020, 3, 23, 12, 0, 0, 0
    )
    val date = localDate.atOffset(
      ZoneOffset.systemDefault()
        .rules
        .getOffset(localDate)
    )

Wir brauchen ja den Offset vom Datum, und nicht von jetzt. Das Datum liegt in der Normalzeit.

Interessanterweise ist für Kotlin/Java am Tag der Umstellung (hier 29.3.2020) bis einschließlich 2:59:59 Uhr alles noch Normalzeit, für die Datenbank aber ab 2:00:00 Uhr alles schon (richtigerweise) Sommerzeit. Die Zeiten von 2:00:00 bis 2:59:59 gibt es an dem Tag ja auch nicht.

`npm serve` fails because `@angular-devkit/build-angular:dev-server` is missing

Hello,

I have cloned this repository and tried then the descriptions in CT 9 to 12/2022.

But the step from CT 11/2022 page 150 fail.
The following is the output when I tried again:

cd C:\Users\juerg\OneDrive\Dokumente\ct-todo\angular
PS C:\Users\juerg\OneDrive\Dokumente\ct-todo\angular> npm install -g @angular/cli
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.

changed 219 packages, and audited 220 packages in 17s

25 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
PS C:\Users\juerg\OneDrive\Dokumente\ct-todo\angular> npm install --location=global @angular/cli
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.

changed 219 packages, and audited 220 packages in 10s

25 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
PS C:\Users\juerg\OneDrive\Dokumente\ct-todo\angular> npm --version
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
8.14.0
PS C:\Users\juerg\OneDrive\Dokumente\ct-todo\angular> ng serve --open
Node packages may not be installed. Try installing with 'npm install'.
Error: Could not find the '@angular-devkit/build-angular:dev-server' builder's node package.
PS C:\Users\juerg\OneDrive\Dokumente\ct-todo\angular> git clean -fxd
PS C:\Users\juerg\OneDrive\Dokumente\ct-todo\angular> ng new todo --defaulöts --routing --strict
Error: This command is not available when running the Angular CLI inside a workspace.
PS C:\Users\juerg\OneDrive\Dokumente\ct-todo\angular> cd ..
PS C:\Users\juerg\OneDrive\Dokumente\ct-todo> mkdir workspace


    Verzeichnis: C:\Users\juerg\OneDrive\Dokumente\ct-todo


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        17.07.2022     16:23                workspace


PS C:\Users\juerg\OneDrive\Dokumente\ct-todo> cd .\workspace\
PS C:\Users\juerg\OneDrive\Dokumente\ct-todo\workspace> ng new todo --defaulöts --routing --strict
Error: Unknown argument: defaulöts
PS C:\Users\juerg\OneDrive\Dokumente\ct-todo\workspace> ng new todo --defaults --routing --strict
? Would you like to share anonymous usage data about this project with the Angular Team at
Google under Googles Privacy Policy at https://policies.google.com/privacy. For more
details and how to change this setting, see https://angular.io/analytics. No
Global setting: disabled
Local setting: No local workspace configuration file.
Effective status: disabled
CREATE todo/angular.json (2912 bytes)
CREATE todo/package.json (1035 bytes)
CREATE todo/README.md (1058 bytes)
CREATE todo/tsconfig.json (863 bytes)
CREATE todo/.editorconfig (274 bytes)
CREATE todo/.gitignore (548 bytes)
CREATE todo/.browserslistrc (600 bytes)
CREATE todo/karma.conf.js (1421 bytes)
CREATE todo/tsconfig.app.json (287 bytes)
CREATE todo/tsconfig.spec.json (333 bytes)
CREATE todo/.vscode/extensions.json (130 bytes)
CREATE todo/.vscode/launch.json (474 bytes)
CREATE todo/.vscode/tasks.json (938 bytes)
CREATE todo/src/favicon.ico (948 bytes)cd C:\Users\juerg\OneDrive\Dokumente\ct-todo\angular
PS C:\Users\juerg\OneDrive\Dokumente\ct-todo\angular> npm install -g @angular/cli
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.

changed 219 packages, and audited 220 packages in 17s

25 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
PS C:\Users\juerg\OneDrive\Dokumente\ct-todo\angular> npm install --location=global @angular/cli
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.

changed 219 packages, and audited 220 packages in 10s

25 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
PS C:\Users\juerg\OneDrive\Dokumente\ct-todo\angular> npm --version
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
8.14.0
PS C:\Users\juerg\OneDrive\Dokumente\ct-todo\angular> ng serve --open
Node packages may not be installed. Try installing with 'npm install'.
Error: Could not find the '@angular-devkit/build-angular:dev-server' builder's node package.
PS C:\Users\juerg\OneDrive\Dokumente\ct-todo\angular> git clean -fxd
PS C:\Users\juerg\OneDrive\Dokumente\ct-todo\angular> ng new todo --defaulöts --routing --strict
Error: This command is not available when running the Angular CLI inside a workspace.
PS C:\Users\juerg\OneDrive\Dokumente\ct-todo\angular> cd ..
PS C:\Users\juerg\OneDrive\Dokumente\ct-todo> mkdir workspace


    Verzeichnis: C:\Users\juerg\OneDrive\Dokumente\ct-todo


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        17.07.2022     16:23                workspace


PS C:\Users\juerg\OneDrive\Dokumente\ct-todo> cd .\workspace\
PS C:\Users\juerg\OneDrive\Dokumente\ct-todo\workspace> ng new todo --defaulöts --routing --strict
Error: Unknown argument: defaulöts
PS C:\Users\juerg\OneDrive\Dokumente\ct-todo\workspace> ng new todo --defaults --routing --strict
? Would you like to share anonymous usage data about this project with the Angular Team at
Google under Googles Privacy Policy at https://policies.google.com/privacy. For more
details and how to change this setting, see https://angular.io/analytics. No
Global setting: disabled
Local setting: No local workspace configuration file.
Effective status: disabled
CREATE todo/angular.json (2912 bytes)
CREATE todo/package.json (1035 bytes)
CREATE todo/README.md (1058 bytes)
CREATE todo/tsconfig.json (863 bytes)
CREATE todo/.editorconfig (274 bytes)
CREATE todo/.gitignore (548 bytes)
CREATE todo/.browserslistrc (600 bytes)
CREATE todo/karma.conf.js (1421 bytes)
CREATE todo/tsconfig.app.json (287 bytes)
CREATE todo/tsconfig.spec.json (333 bytes)
CREATE todo/.vscode/extensions.json (130 bytes)
CREATE todo/.vscode/launch.json (474 bytes)
CREATE todo/.vscode/tasks.json (938 bytes)
CREATE todo/src/favicon.ico (948 bytes)
CREATE todo/src/index.html (290 bytes)
CREATE todo/src/main.ts (372 bytes)
CREATE todo/src/polyfills.ts (2338 bytes)
CREATE todo/src/styles.css (80 bytes)
CREATE todo/src/test.ts (749 bytes)
CREATE todo/src/assets/.gitkeep (0 bytes)
CREATE todo/src/environments/environment.prod.ts (51 bytes)
CREATE todo/src/environments/environment.ts (658 bytes)
CREATE todo/src/app/app-routing.module.ts (245 bytes)
CREATE todo/src/app/app.module.ts (393 bytes)
CREATE todo/src/app/app.component.html (23364 bytes)
CREATE todo/src/app/app.component.spec.ts (1067 bytes)
CREATE todo/src/app/app.component.ts (208 bytes)
CREATE todo/src/app/app.component.css (0 bytes)
√ Packages installed successfully.
    Directory is already under version control. Skipping initialization of git.
PS C:\Users\juerg\OneDrive\Dokumente\ct-todo\workspace> ng serve --open
Error: This command is not available when running the Angular CLI outside a workspace.
CREATE todo/src/index.html (290 bytes)
CREATE todo/src/main.ts (372 bytes)
CREATE todo/src/polyfills.ts (2338 bytes)
CREATE todo/src/styles.css (80 bytes)
CREATE todo/src/test.ts (749 bytes)
CREATE todo/src/assets/.gitkeep (0 bytes)
CREATE todo/src/environments/environment.prod.ts (51 bytes)
CREATE todo/src/environments/environment.ts (658 bytes)
CREATE todo/src/app/app-routing.module.ts (245 bytes)
CREATE todo/src/app/app.module.ts (393 bytes)
CREATE todo/src/app/app.component.html (23364 bytes)
CREATE todo/src/app/app.component.spec.ts (1067 bytes)
CREATE todo/src/app/app.component.ts (208 bytes)
CREATE todo/src/app/app.component.css (0 bytes)
√ Packages installed successfully.
    Directory is already under version control. Skipping initialization of git.
PS C:\Users\juerg\OneDrive\Dokumente\ct-todo\workspace> ng serve --open
Error: This command is not available when running the Angular CLI outside a workspace.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.