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

Lib/datetime todo #20

Open
2 of 9 tasks
litlighilit opened this issue Jul 6, 2024 · 2 comments
Open
2 of 9 tasks

Lib/datetime todo #20

litlighilit opened this issue Jul 6, 2024 · 2 comments
Labels
Lib stdlib (in Lib/) py-diff Inconsistence with Python

Comments

@litlighilit
Copy link
Collaborator

litlighilit commented Jul 6, 2024

  • make TypeError compile-time (maybe?)
  • cleanup export (some inner symbols exported now)
  • wrap for noWeridTarget method(e.g calling astimezone() without tz param)
  • cleanup datetime_impl/inner_decl
  • print(<datetime>) produces result of system.repr
  • '%:z' was added since Python3.12
  • multi-format of fromisoformat since 3.11
  • strftime: if raising ValueError for unknown directive is OS-dependent (we shall add a compile option)
  • support %u for strftime
@litlighilit
Copy link
Collaborator Author

litlighilit commented Jul 16, 2024

  • support JS
    • check for invalid time_t
    • dst

@litlighilit litlighilit changed the title Lib/datetime improve Lib/datetime todo Jul 17, 2024
@litlighilit
Copy link
Collaborator Author

litlighilit commented Jul 17, 2024

  • date time types 1
  • __format__

Footnotes

  1. main difficuity is the inherit clain.

@litlighilit litlighilit added py-diff Inconsistence with Python Lib stdlib (in Lib/) labels Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Lib stdlib (in Lib/) py-diff Inconsistence with Python
Projects
None yet
Development

No branches or pull requests

1 participant