Skip to content

TransactionDate is returning yyyy-MM-dd HH:mm:ss instead of a timestamp. #173900

@oolionoo

Description

@oolionoo

Steps to reproduce

When I tested on Apple Sandbox In-App Purchase, I noticed that transactionDate is returning yyyy-MM-dd HH:mm:ss instead of a timestamp.
My library version is in_app_purchase: 3.2.3.

Expected results

Return a timestamp as in the documentation.

/// The timestamp of the transaction.
/// Milliseconds since epoch.
  

Actual results

TransactionDate is returning yyyy-MM-dd HH:mm:ss

Code sample

purchasedDate = DateTime.fromMillisecondsSinceEpoch(int.parse(purchaseDetails.transactionDate!));

Screenshots or Video

No response

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[Paste your output here]

Metadata

Metadata

Assignees

No one assigned

    Labels

    in triagePresently being triaged by the triage teamwaiting for customer responseThe Flutter team cannot make further progress on this issue until the original reporter responds

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions