Skip to content

timeComponent: float representation (function) #32

@bobslee

Description

@bobslee

Example:

  opening_start_time = [int(part) for part in row['openingTime'].value.split(':')]
  opening_start_time_obj = datetime.time(opening_start_time[0], opening_start_time[1])
  opening_hours_start = opening_start_time_obj.hour + (opening_start_time_obj.minute / 60.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions