Skip to content

Commit

Permalink
feat(globalization): change globalization management
Browse files Browse the repository at this point in the history
manage DateOnly and TimeOnly
add new extensions methods

BREAKING CHANGE: dates conversion methods
  • Loading branch information
Stéphane ANDRE (E104915) committed Aug 30, 2024
1 parent a4f2b2c commit 027834c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: windows-latest
outputs:
full_version: ${{ steps.gitversion.outputs.SemVer }}
suffix_label: ${{ steps.gitversion.outputs.PreReleaseLabel }}
suffix_label: ${{ steps.gitversion.outputs.PreReleaseTag }}

steps:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: windows-latest
outputs:
full_version: ${{ steps.gitversion.outputs.SemVer }}
suffix_label: ${{ steps.gitversion.outputs.PreReleaseLabel }}
suffix_label: ${{ steps.gitversion.outputs.PreReleaseTag }}

steps:

Expand Down
File renamed without changes.
12 changes: 6 additions & 6 deletions src/MyNetUtilities.sln
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{E1FD
..\.github\workflows\create_release.yml = ..\.github\workflows\create_release.yml
..\.github\GitVersion.yml = ..\.github\GitVersion.yml
..\.github\workflows\git_version.yml = ..\.github\workflows\git_version.yml
..\.github\workflows\publish_packages.yml = ..\.github\workflows\publish_packages.yml
..\.github\workflows\publish_release.yml = ..\.github\workflows\publish_release.yml
..\.github\workflows\publish_private.yml = ..\.github\workflows\publish_private.yml
EndProjectSection
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MyNet.Utilities.Authentication.Windows", "MyNet.Utilities.Authentication.Windows\MyNet.Utilities.Authentication.Windows.csproj", "{3DA29E20-ABA4-4A19-A59A-37B9B611561C}"
Expand Down Expand Up @@ -127,11 +127,11 @@ Global
{EF412E75-25B5-4ADC-B2A9-15DD0B51A0FD} = {309DE078-8349-428D-807B-C923AD7D2828}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
RESX_ConfirmAddLanguageFile = True
RESX_AutoCreateNewLanguageFiles = True
RESX_NeutralResourcesLanguage = fr-FR
SolutionGuid = {4C2A7472-FBCC-4D2C-B21D-0C83E4ADAA1A}
RESX_CodeReferences = {"Items":[{"Expression":"\\W($File.$Key)\\W","Extensions":".cs,.xaml,.cshtml","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"\\W($File.$Key)\\W","Extensions":".vbhtml","IsCaseSensitive":false,"SingleLineComment":null},{"Expression":"ResourceManager.GetString\\(\"($Key)\"\\)","Extensions":".cs","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"typeof\\((\\w+\\.)*($File)\\).+\"($Key)\"|\"($Key)\".+typeof\\((\\w+\\.)*($File)\\)","Extensions":".cs","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"\\W($Key)\\W","Extensions":".vb","IsCaseSensitive":false,"SingleLineComment":"'"},{"Expression":"\\W($File::$Key)\\W","Extensions":".cpp,.c,.hxx,.h","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"<%\\$\\s+Resources:\\s*($File)\\s*,\\s*($Key)\\s*%>","Extensions":".aspx,.ascx,.master","IsCaseSensitive":true,"SingleLineComment":null},{"Expression":"StringResourceKey\\.($Key)","Extensions":".cs","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"\\.($Key)","Extensions":".ts,.html","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"typeof\\((\\w+\\.)*($File)\\).+nameof\\(($Key)\\)|nameof\\(($Key)\\).+typeof\\((\\w+\\.)*($File)\\)","Extensions":".cs","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"{me:Resource (Key=)?($Key).*","Extensions":".xaml","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"{me:Translation .*Format=$Key.*","Extensions":".xaml","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"{my:Resource (Key=)?($Key).*","Extensions":".xaml","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"Format=($Key)","Extensions":".xaml","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"{my:ShortcutResource (Key=)?($Key).*","Extensions":".xaml","IsCaseSensitive":true,"SingleLineComment":"\/\/"}]}
RESX_ShowErrorsInErrorList = False
RESX_CodeReferences = {"Items":[{"Expression":"\\W($File.$Key)\\W","Extensions":".cs,.xaml,.cshtml","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"\\W($File.$Key)\\W","Extensions":".vbhtml","IsCaseSensitive":false,"SingleLineComment":null},{"Expression":"ResourceManager.GetString\\(\"($Key)\"\\)","Extensions":".cs","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"typeof\\((\\w+\\.)*($File)\\).+\"($Key)\"|\"($Key)\".+typeof\\((\\w+\\.)*($File)\\)","Extensions":".cs","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"\\W($Key)\\W","Extensions":".vb","IsCaseSensitive":false,"SingleLineComment":"'"},{"Expression":"\\W($File::$Key)\\W","Extensions":".cpp,.c,.hxx,.h","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"<%\\$\\s+Resources:\\s*($File)\\s*,\\s*($Key)\\s*%>","Extensions":".aspx,.ascx,.master","IsCaseSensitive":true,"SingleLineComment":null},{"Expression":"StringResourceKey\\.($Key)","Extensions":".cs","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"\\.($Key)","Extensions":".ts,.html","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"typeof\\((\\w+\\.)*($File)\\).+nameof\\(($Key)\\)|nameof\\(($Key)\\).+typeof\\((\\w+\\.)*($File)\\)","Extensions":".cs","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"{me:Resource (Key=)?($Key).*","Extensions":".xaml","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"{me:Translation .*Format=$Key.*","Extensions":".xaml","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"{my:Resource (Key=)?($Key).*","Extensions":".xaml","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"Format=($Key)","Extensions":".xaml","IsCaseSensitive":true,"SingleLineComment":"\/\/"},{"Expression":"{my:ShortcutResource (Key=)?($Key).*","Extensions":".xaml","IsCaseSensitive":true,"SingleLineComment":"\/\/"}]}
SolutionGuid = {4C2A7472-FBCC-4D2C-B21D-0C83E4ADAA1A}
RESX_NeutralResourcesLanguage = fr-FR
RESX_AutoCreateNewLanguageFiles = True
RESX_ConfirmAddLanguageFile = True
EndGlobalSection
EndGlobal

0 comments on commit 027834c

Please sign in to comment.