Skip to content

Commit

Permalink
Merge pull request #192 from mercadopago/fix/change-type-departure-an…
Browse files Browse the repository at this point in the history
…d-arrival

Change type of Departure and Arrival to DateTimeOffset
  • Loading branch information
renanneri01 authored Feb 17, 2025
2 parents b0a4f01 + ad32895 commit 8d21081
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repos:
# Websec hook is MANDATORY, DO NOT comment it.
- repo: https://github.com/melisource/fury_websec-git-hooks
rev: v1.1.0
rev: v2.0.0
hooks:
- id: pre_commit_hook
stages: [commit]
Expand All @@ -10,7 +10,7 @@ repos:

# Datasec hook is MANDATORY, DO NOT comment it.
- repo: https://github.com/melisource/fury_datasec-git-hooks
rev: 1.0.3
rev: 1.2.2
hooks:
- id: pre_commit_hook
stages: [commit]
Expand Down
4 changes: 2 additions & 2 deletions src/MercadoPago/Client/Preference/PreferenceRouteRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ public class PreferenceRouteRequest
/// <summary>
/// Departure date.
/// </summary>
public DateTime? DepartureDateTime { get; set; }
public DateTimeOffset? DepartureDateTime { get; set; }

/// <summary>
/// Arrival date.
/// </summary>
public DateTime? ArrivalDateTime { get; set; }
public DateTimeOffset? ArrivalDateTime { get; set; }

/// <summary>
/// Company.
Expand Down
4 changes: 2 additions & 2 deletions src/MercadoPago/Resource/Preference/PreferenceRoute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ public class PreferenceRoute
/// <summary>
/// Departure date.
/// </summary>
public DateTime? DepartureDateTime { get; set; }
public DateTimeOffset? DepartureDateTime { get; set; }

/// <summary>
/// Arrival date.
/// </summary>
public DateTime? ArrivalDateTime { get; set; }
public DateTimeOffset? ArrivalDateTime { get; set; }

/// <summary>
/// Company.
Expand Down

0 comments on commit 8d21081

Please sign in to comment.