Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GO-4586 | GO-4590 - Do not generate long date ids + Change date format again #1870

Merged
merged 3 commits into from
Nov 27, 2024

Conversation

KirillSto
Copy link
Member

@KirillSto KirillSto commented Nov 26, 2024

https://linear.app/anytype/issue/GO-4586/do-not-generate-long-ids
https://linear.app/anytype/issue/GO-4590/support-the-date-format-once-again

  • We should not allow to generate second-precision date object ids for now, as old clients could not show these objects correctly
  • Change date format to Mon, Dec 25, 2124 11:34 PM

@KirillSto KirillSto self-assigned this Nov 26, 2024
@KirillSto KirillSto changed the title GO-4586 Do not generate long date ids GO-4586 | GO-4590 - Do not generate long date ids + Change date format again Nov 27, 2024
Copy link

New Coverage 50.2% of statements
Patch Coverage 0.0% of changed statements (0/4)

Coverage provided by https://github.com/seriousben/go-patch-cover-action

@@ -10,8 +10,8 @@ import (
const (
shortDateIdLayout = "2006-01-02"
dateIdLayout = "2006-01-02-15-04-05Z-0700"
shortDateNameLayout = "02 Jan 2006"
dateNameLayout = "02 Jan 2006 15:04"
shortDateNameLayout = "Mon, Jan 02, 2006"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i guess you should not revert the date string format? As we agreed to change it

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's brand new prod requirement!
https://linear.app/anytype/issue/GO-4590/support-the-date-format-once-again
Extra comma added

@KirillSto KirillSto requested a review from requilence November 27, 2024 12:25
@KirillSto KirillSto merged commit 9ad8ead into feature/date-as-an-object Nov 27, 2024
5 checks passed
@KirillSto KirillSto deleted the go-4586-do-not-gen-long-date-ids branch November 27, 2024 13:01
@github-actions github-actions bot locked and limited conversation to collaborators Nov 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants