iamshaunjp / iamshaunjp/flutter-beginners-tutorial

Failure in wordl_time.dart

Open
#29 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
1.9k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

It seams that the minus sign is not handled, which means that every offset of the utc time is positive.

column 24 in wordl_time.dart.m

String offset = data['utc_offset'].substring(1,3);

should be replaced with:

String offset = data['utc_offset'].substring(0,3);

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.