# GMT 관련 시간대 버그인가요?

**URL:** <https://meta.discourse.org/t/timezone-bug-with-gmt/226180>\
**Category:** Product Support\
**Created:** [5월 5, 2022, 3:02오전 UTC](https://meta.discourse.org/t/timezone-bug-with-gmt/226180 "2022-05-05T03:02:37Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![j127](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j127/32/79093_2.png) [@j127](https://meta.discourse.org/u/j127)\
**Post date:** [5월 5, 2022, 3:02오전 UTC](https://meta.discourse.org/t/timezone-bug-with-gmt/226180/1 "2022-05-05T03:02:37Z")

</div>

이것이 버그인지, 아니면 내가 동작 방식을 오해하고 있는지 확실하지 않습니다.

## 예시 1

**코드:**

```plaintext
[date=2022-05-06 time=01:00:00 timezone="America/Los_Angeles"]

```

(로스앤젤레스는 GMT-7입니다.)

**결과:**

2022-05-06T08:00:00Z

## 예시 2

**코드:**

```plaintext
[date=2022-05-06 time=01:00:00 timezone="Etc/GMT-7"]

```

**결과:**

로스앤젤레스는 GMT-7입니다. 만약 "이벤트는 GMT-7 시간대(로스앤젤레스 시간대) 기준 오후 1시에 있습니다"라고 했을 때, 누군가가 Discourse에서 다음과 같이 GMT-7을 사용하면:

 ![image](https://global.discourse-cdn.com/meta/original/4X/0/5/9/05911d5e5fe1344fd2cec41c79f1e6cd0e435018.png)

잘못된 시간이 표시됩니다:

2022-05-05T18:00:00Z

거기서 로스앤젤레스 시간(GMT-7)을 얻으려면 다음과 같이 GMT+7을 입력해야 합니다:

```plaintext
[date=2022-05-06 time=01:00:00 timezone="Etc/GMT+7"]

```

**결과:**

2022-05-06T08:00:00Z

`America/Los_Angeles+7`가 `GMT`와 같아야 하고, `GMT-7`이 `America/Los_Angeles`와 같아서는 안 되나요? 위젯도 GMT-7 기준 오후 1시가 LA와 다르다고 표시합니다:

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/d/0/cd0016b4b0476b42fe054146f960813fd777ff9e.png)

---

_[View the full topic](https://meta.discourse.org/t/timezone-bug-with-gmt/226180)._
