Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 2.9KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # [Moment Timezone](http://momentjs.com/timezone/)
  2. [![NPM version][npm-version-image]][npm-url]
  3. [![NPM downloads][npm-downloads-image]][npm-download-url]
  4. [![MIT License][license-image]][license-url]
  5. [![Build Status][travis-image]][travis-url]
  6. [![FOSSA Status][fossa-badge-image]][fossa-badge-url]
  7. [![SemVer compatibility][semver-image]][semver-url]
  8. IANA Time zone support for Moment.js
  9. ## Project Status
  10. Moment-Timezone is an add-on for Moment.js. Both are considered legacy projects, now in maintenance mode. In most cases, you should choose a different library.
  11. For more details and recommendations, please see [Project Status](https://momentjs.com/docs/#/-project-status/) in the Moment docs.
  12. *Thank you.*
  13. ## Resources
  14. - [Documentation](https://momentjs.com/timezone/docs/)
  15. - [Changelog](changelog.md)
  16. - [Stack Overflow](https://stackoverflow.com/questions/tagged/moment-timezone)
  17. ## Examples
  18. ```js
  19. var june = moment("2014-06-01T12:00:00Z");
  20. june.tz('America/Los_Angeles').format('ha z'); // 5am PDT
  21. june.tz('America/New_York').format('ha z'); // 8am EDT
  22. june.tz('Asia/Tokyo').format('ha z'); // 9pm JST
  23. june.tz('Australia/Sydney').format('ha z'); // 10pm EST
  24. var dec = moment("2014-12-01T12:00:00Z");
  25. dec.tz('America/Los_Angeles').format('ha z'); // 4am PST
  26. dec.tz('America/New_York').format('ha z'); // 7am EST
  27. dec.tz('Asia/Tokyo').format('ha z'); // 9pm JST
  28. dec.tz('Australia/Sydney').format('ha z'); // 11pm EST
  29. ```
  30. ## License
  31. Moment-timezone is freely distributable under the terms of the [MIT license][license-url].
  32. [![FOSSA Status][fossa-large-image]][fossa-large-url]
  33. [license-image]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat
  34. [license-url]: LICENSE
  35. [npm-url]: https://npmjs.org/package/moment-timezone
  36. [npm-version-image]: https://img.shields.io/npm/v/moment-timezone.svg?style=flat
  37. [npm-downloads-image]: https://img.shields.io/npm/dm/moment-timezone.svg?style=flat
  38. [npm-download-url]: https://npmcharts.com/compare/moment-timezone?minimal=true
  39. [travis-url]: https://travis-ci.org/moment/moment-timezone
  40. [travis-image]: https://img.shields.io/travis/moment/moment-timezone/develop.svg?style=flat
  41. [fossa-badge-image]: https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment-timezone.svg?type=shield
  42. [fossa-badge-url]: https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment-timezone?ref=badge_shield
  43. [fossa-large-image]: https://app.fossa.io/api/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment-timezone.svg?type=large
  44. [fossa-large-url]: https://app.fossa.io/projects/git%2Bhttps%3A%2F%2Fgithub.com%2Fmoment%2Fmoment-timezone?ref=badge_large
  45. [semver-image]: https://api.dependabot.com/badges/compatibility_score?dependency-name=moment-timezone&package-manager=npm_and_yarn&version-scheme=semver
  46. [semver-url]: https://dependabot.com/compatibility-score.html?dependency-name=moment-timezone&package-manager=npm_and_yarn&version-scheme=semver