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

Доработать функцию ДатаИзСтрокиRFC7231 #150

Open
nec1ron opened this issue Oct 16, 2024 · 1 comment
Open

Comments

@nec1ron
Copy link

nec1ron commented Oct 16, 2024

не возращается дата, если год указан из 2 последних чисел

ДатаИзСтрокиRFC7231("Wed 16-Oct-24 07:36:30 GMT")
// 01.01.0001 0:00:00 Дата

ДатаИзСтрокиRFC7231("Wed 16-Oct-2024 07:36:30 GMT")
//16.10.2024 7:36:30 Дата

@leemuar
Copy link
Collaborator

leemuar commented Oct 16, 2024

Стандарт, на который стоит опираться при доработке:
https://www.rfc-editor.org/rfc/rfc7231#section-7.1.1.1
https://www.rfc-editor.org/rfc/rfc2616#section-3.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants