-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
3 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |