yuz10 opened a new issue #3392:
URL: https://github.com/apache/rocketmq/issues/3392
**BUG REPORT**
1. Please describe the issue you observed:
```
String id = "7F000001126D2BC3EB8D088431420014";
TimeZone.setDefault(TimeZone.getTimeZone("GMT+8"));
System.out.printf("%s%n",
MessageClientIDSetter.getNearlyTimeFromID(id).toGMTString()); //2 Oct 2021
07:41:21 GMT
TimeZone.setDefault(TimeZone.getTimeZone("GMT"));
System.out.printf("%s%n",
MessageClientIDSetter.getNearlyTimeFromID(id).toGMTString()); //2 Oct 2021
15:41:21 GMT
```
the time in unique id is (current timestamp - first second of this
month in local time), if time zone is different ,then first second of this
month is different, for example:
2021-10-01 00:00:00 in GMT+8 is 2021-09-30 16:00:00 in GMT
- What did you do (The steps to reproduce)?
- What did you expect to see?
- What did you see instead?
2. Please tell us about your environment:
3. Other information (e.g. detailed explanation, logs, related issues,
suggestions how to fix, etc):
**FEATURE REQUEST**
1. Please describe the feature you are requesting.
2. Provide any additional detail on your proposed use case for this feature.
2. Indicate the importance of this issue to you (blocker, must-have,
should-have, nice-to-have). Are you currently using any workarounds to address
this issue?
4. If there are some sub-tasks using -[] for each subtask and create a
corresponding issue to map to the sub task:
- [sub-task1-issue-number](example_sub_issue1_link_here): sub-task1
description here,
- [sub-task2-issue-number](example_sub_issue2_link_here): sub-task2
description here,
- ...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]