Skip to content

FileProperties from list_directories_and_files with timestamps differs from get_file_properties on files #41145

Open
@DisplayL

Description

@DisplayL
  • Package Name: azure-storage-file-share
  • Package Version: 12.21.0
  • Operating System: Ubuntu 20.04.4 LTS
  • Python Version: 3.8.10

Describe the bug
list_directories_and_files including timestamps for a given file renders different data from getting the respective file client get_file_properties

To Reproduce

  1. list_directories_and_files for a file
  2. get_file_properties on that file
  3. for example, change_time has tzinfo utc in listing but not on get_file_properties

Expected behavior
Expected the same FileProperties object

Metadata

Metadata

Labels

ClientThis issue points to a problem in the data-plane of the library.Service AttentionWorkflow: This issue is responsible by Azure service team.StorageStorage Service (Queues, Blobs, Files)customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions