Skip to content

Commit

Permalink
1. build action script
Browse files Browse the repository at this point in the history
2. readme content
  • Loading branch information
DavidThielen committed Oct 1, 2024
1 parent fbc6d77 commit 3554e85
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 2 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
# More GitHub Actions for Azure: https://github.com/Azure/actions

name: Build and deploy ASP.Net Core app to Azure Web App - louishowe

on:
push:
branches:
- master
- feature/*
workflow_dispatch:

jobs:
build:
runs-on: windows-latest
timeout-minutes: 30

steps:
- uses: actions/checkout@v2

- name: Set up .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.x'
include-prerelease: true

- name: Build
run: dotnet build .\TradeWindsDateTime\TradeWindsDateTime.csproj --configuration Release

- name: Unit Tests
run: dotnet test .\UnitTests\UnitTests.csproj

2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) [year] [fullname]
Copyright (c) 2024 Trade Winds Studios (David Thielen)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
# TradeWindsDateTime
# TradeWindsDateTime

These are some classes I created for handling the DateTime. The primary class is DateTimeZone which is DateTime+TimeZone.

When working with DateTime across timezones, do not use UTC Offset - that will always bite you in the ass sooner or later. Daylight Savings Time start/end is a political decision and it changes regularly.

The DateTimeZone can be saved in a database as the DateTime & the TimeZoneId (string). Save and use DateTimeZone.

This is under the MIT license. If you find this very useful I ask (not a requirement) that you consider reading my book [I DON’T KNOW WHAT I’M DOING!: How a Programmer Became a Successful Startup CEO](https://a.co/d/bEpDlJR).

And if you like it, please review it on Amazon and/or GoodReads. The number of legitimate reviews helps a lot. Much appreciated.

0 comments on commit 3554e85

Please sign in to comment.