ballerina-platform / ballerina-library

The Ballerina Library
https://ballerina.io/learn/api-docs/ballerina/
Apache License 2.0
136 stars 58 forks source link

User has to provide offset to get time local time #1138

Open KRVPerera opened 3 years ago

KRVPerera commented 3 years ago

Description: If the user knows his/her timezone "Asia/Colombo" ballerina can keep track of default offsets. There are default timezone data used in other languages.

eg: IANA Time Zone Database (TZDB)

Currently user has to provide all of these.

Describe your problem(s)

Describe your solution(s)

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

daneshk commented 3 years ago

Time zones are not yet supported in Ballerina. We are currently working on the design.