Ghost/ghost/oembed-service
Daniel Lockyer 7a2f766668
Added logging configuration option for timestamps to use the local timezone
fixes https://github.com/TryGhost/Ghost/issues/15190
refs https://github.com/TryGhost/framework/pull/76

- log output always uses UTC timestamps, but it may be desirable to
  configure logs to use the local machine timezone
- a new config option has been added to `@tryghost/logging` so you can
  switch the logs to the local timezone
- this commit bumps the package and sets the default config option to
  `false`, so it doesn't suddenly change the timezone of the logs
- docs will be updated soon but if you'd like to use the
  timezone-altered timestamps, you can set `logging.useLocalTime` to
  `true`
- credits to https://github.com/levee223 for the implementation and PR
2022-08-31 10:29:55 +01:00
..
lib Extracted oembed service to separate package 2022-08-15 10:07:06 +02:00
test Extracted oembed service to separate package 2022-08-15 10:07:06 +02:00
.eslintrc.js Extracted oembed service to separate package 2022-08-15 10:07:06 +02:00
index.js Extracted oembed service to separate package 2022-08-15 10:07:06 +02:00
package.json Added logging configuration option for timestamps to use the local timezone 2022-08-31 10:29:55 +01:00
README.md Extracted oembed service to separate package 2022-08-15 10:07:06 +02:00

Oembed Service

Oembed service for Ghost

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests