Gencaster / gencaster

A non-linear audio streaming framework for real-time radiophonic experiences and live music.
https://gencaster.org
GNU Affero General Public License v3.0
20 stars 0 forks source link

Gencaster needs do be aware of users time and date #381

Open vin-ni opened 1 year ago

vin-ni commented 1 year ago

For formats like:

the graph needs to know the users local timezone and date. Would that be something we send via graph ql on first connection?

capital-G commented 1 year ago

This is already possible with python script cells/statements, e.g. datetime.now() :) Would not rely on a time from a user

vin-ni commented 1 year ago

But does it use the servers datetime.now() or the users?

capital-G commented 1 year ago

Send timezone as stream variable upon connection.

Add a syntactic sugar method that uses this information to get the current time of the user, e.g.

get_user_time()
capital-G commented 1 year ago

Todo: