Browse Source
Merge pull request #5097 from abpframework/liangshiwei/quartz-timezoneconverter
Added Quartz.Plugins.TimeZoneConverter
pull/5105/head
maliming
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
6 additions and
0 deletions
-
framework/src/Volo.Abp.Quartz/Volo.Abp.Quartz.csproj
-
framework/src/Volo.Abp.Quartz/Volo/Abp/Quartz/AbpQuartzModule.cs
|
|
|
@ -17,6 +17,7 @@ |
|
|
|
<ItemGroup> |
|
|
|
<PackageReference Include="Quartz" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Quartz.Extensions.DependencyInjection" Version="3.1.0" /> |
|
|
|
<PackageReference Include="Quartz.Plugins.TimeZoneConverter" Version="3.1.0" /> |
|
|
|
</ItemGroup> |
|
|
|
|
|
|
|
<ItemGroup> |
|
|
|
|
|
|
|
@ -45,6 +45,11 @@ namespace Volo.Abp.Quartz |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
if (options.Properties["quartz.plugin.timeZoneConverter.type"] == null) |
|
|
|
{ |
|
|
|
build.UseTimeZoneConverter(); |
|
|
|
} |
|
|
|
|
|
|
|
options.Configurator?.Invoke(build); |
|
|
|
}); |
|
|
|
|
|
|
|
|