gmt 0.7.3 copy "gmt: ^0.7.3" to clipboard
gmt: ^0.7.3 copied to clipboard

Get current datetime in GMT from internet (example.com, google.com or your own urls) and return DateTime in UTC.

0.7.3 #

  • Add the web platform.

0.7.2 #

  • Update comments.
  • Update homepage URL.

0.7.1 #

  • Change the way to request from Get to Head.
  • Bump http to 1.1.0.

0.7.0 #

  • Bump sdk version to >=2.18.0 <4.0.0.
  • Bump http to 1.0.0.

0.6.0 #

  • Bump min sdk version to 2.17.0.
  • Update dependencies.
  • Update homepage URL.

0.5.0 #

  • Allow enable/disable debug text.
  • Update dependencies.

0.4.0 #

  • Avoid creating a new instance of GMT.
  • Updated dependencies.

0.3.1 #

  • Added example to improve the scores.
  • Upgrade dependencies.
  • Update homepage.

0.3.0 #

Added new parameters to GMT.now():

  • urls: List of URLs to get the current date and time. This does nothing on the Web platform.
  • timeoutOfEach: Timeout of each URL.

0.2.0+1 #

  • Update homepage

0.2.0 #

  • Bug fixed: Error on web platform.

0.1.0 #

  • Supported web platform.

0.0.2 #

  • Bug fixed: Convert local DateTime.now() to UTC.

0.0.1 #

  • Initial release.
1
likes
160
pub points
76%
popularity

Publisher

verified publisherlamnhan.dev

Get current datetime in GMT from internet (example.com, google.com or your own urls) and return DateTime in UTC.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

http, universal_io

More

Packages that depend on gmt