Skip to content

Commit

Permalink
Merge pull request #24 from shahabfar/Development
Browse files Browse the repository at this point in the history
Upgrade to .NET 9.0
  • Loading branch information
shahabfar authored Nov 26, 2024
2 parents b174723 + 77ead9e commit e1c0c4c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: dotnet build src/Persia.Net/Persia.Net.csproj --configuration Release --no-restore

- name: Restore test project dependencies
run: dotnet restore tests/Persia.Net.Test/Persia.Net.Test.csproj
run: dotnet restore src/Persia.Net.Test/Persia.Net.Test.csproj

- name: Test
run: dotnet test --no-restore --verbosity normal
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,20 @@ Persia.Net is a robust class library, meticulously designed to facilitate seamle
To install Persia.Net, run the following command in the Package Manager Console:

[![Nuget](https://img.shields.io/nuget/v/Persia.Net)](https://www.nuget.org/packages/Persia.Net/)
[![Nuget](https://img.shields.io/nuget/dt/Persia.Net)](https://www.nuget.org/packages/Persia.Net/)

```
PM> Install-Package Persia.Net
```

You can also view the [package page](https://www.nuget.org/packages/Persia.Net/) on NuGet.

## New Features in v4.2

With the latest update, Persia.Net now includes the following new features:

- **Upgrade to .NET 9.0**: The package now supports .NET 6.0, 7.0, 8.0 and 9.0, ensuring compatibility with the latest .NET versions.
- **String to PersianDateTime Conversion**: Convert string representations of Gregorian dates to `PersianDateTime` using the new `ToPersianDateTime` and `TryToPersianDateTime` methods as `String` extensions methods.

# Using Persia.Net

Expand Down

0 comments on commit e1c0c4c

Please sign in to comment.