Skip to content

Set time zone on scope instead of only collections #260

@joente

Description

@joente

Is your feature request related to a problem? Please describe.
It would be nice if the time zone for the @thingsdb scope and @node scope could also be changed.
The default time zone for a new collection could then be inherited from the @thingsdb scope.

Describe the solution you'd like
Accept a scope as argument instead of a collection. A collection name (or id) could still be accepted as fallback.

For example:

set_time_zone('//stuff', 'Europe/Kiev');

Describe alternatives you've considered
I've had some doubt about the inheritance part as we could also create new collections with fixed values. Inheriting from the @thingsdb scope allows for creating "defaults" which could be useful.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions