Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- master
env:
APP_NAME: GoogleApi
VERSION: 5.8.13
VERSION: 5.8.14
NUGET_HOST: https://api.nuget.org/v3/index.json
NUGET_APIKEY: ${{ secrets.NUGET_APIKEY }}
jobs:
Expand Down
6 changes: 6 additions & 0 deletions GoogleApi/Entities/PlacesNew/Common/Place.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,12 @@ public class Place
/// </summary>
public virtual OpeningHours RegularOpeningHours { get; set; }

/// <summary>
/// Represents a time zone from the IANA Time Zone Database.
/// https://www.iana.org/time-zones
/// </summary>
public virtual TimeZone TimeZone { get; set; }

/// <summary>
/// Information (including references) about photos of this place. A maximum of 10 photos can be returned.
/// </summary>
Expand Down
18 changes: 18 additions & 0 deletions GoogleApi/Entities/PlacesNew/Common/TimeZone.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
namespace GoogleApi.Entities.PlacesNew.Common;

/// <summary>
/// Represents a time zone from the IANA Time Zone Database.
/// https://www.iana.org/time-zones
/// </summary>
public class TimeZone
{
/// <summary>
/// IANA Time Zone Database time zone. For example "America/New_York".
/// </summary>
public virtual string Id { get; set; }

/// <summary>
/// Optional. IANA Time Zone Database version number. For example "2019a".
/// </summary>
public virtual string Version { get; set; }
}
8 changes: 4 additions & 4 deletions GoogleApi/GoogleApi.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<NoWarn />
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<PlatformTarget>AnyCPU</PlatformTarget>
<AssemblyVersion>5.8.13.0</AssemblyVersion>
<FileVersion>5.8.13.0</FileVersion>
<Version>5.8.13.0</Version>
<AssemblyVersion>5.8.14.0</AssemblyVersion>
<FileVersion>5.8.14.0</FileVersion>
<Version>5.8.14.0</Version>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>GoogleApi.snk</AssemblyOriginatorKeyFile>
<LangVersion>latest</LangVersion>
Expand All @@ -22,7 +22,7 @@
<PackageTags>google api map maps place places elevation snaptoroad snaptoroads snap road roads speed speedlimit coordinate geo geocode geocoder geocoding geolocation search text nearby radar translate translation detect detection language languages nearest geography point geocoordinate address location latitude longitude distance duration matrix distancematrix direction directions travel path journey trip photo photos timezone time zone autocomplete auto-complete traffic spatial</PackageTags>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageReleaseNotes>
- Fix Typo in AuthorAttribution.DisplayName
- Added TimeZone to new place details response.
</PackageReleaseNotes>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<RepositoryType>GitHub</RepositoryType>
Expand Down
Loading