simple-youtube-api icon indicating copy to clipboard operation
simple-youtube-api copied to clipboard

Add ability to pass datetime object to set_publish_at function in LocalVideo class

Open jonnekaunisto opened this issue 5 years ago • 1 comments

The function should:

Take in the datetime object Check that the datetime is valid, meaning it is not in the past and is either an hour or 30 mins(ex 12:00, or 12:30) not 12:45. Format the string into the proper format which is: publish_time.strftime('%G-%m-%dT%H:%M:%S.000Z') Check if the video is private.

jonnekaunisto avatar Aug 16 '20 01:08 jonnekaunisto

hi, is this implemented? I am struggling with the publish time

lbarraga avatar Jun 17 '23 15:06 lbarraga