René's URL Explorer Experiment


Title: feat: implemented getters / setters and various string fns on Date by ColinEberhardt · Pull Request #1768 · AssemblyScript/assemblyscript · GitHub

Open Graph Title: feat: implemented getters / setters and various string fns on Date by ColinEberhardt · Pull Request #1768 · AssemblyScript/assemblyscript

X Title: feat: implemented getters / setters and various string fns on Date by ColinEberhardt · Pull Request #1768 · AssemblyScript/assemblyscript

Description: This PR adds getters / setters for UTC dates (I don't plan to add any local-time related functionality) fromString, as a substitute for the new Date("2345-11-04") style constructor - I resisted the temptation to use as-regex for this task 😆 toISOString I've also modified Date.UTC so that it no longer calls out to the JS host.

Open Graph Description: This PR adds getters / setters for UTC dates (I don't plan to add any local-time related functionality) fromString, as a substitute for the new Date("2345-11-04") style constructor -...

X Description: This PR adds getters / setters for UTC dates (I don't plan to add any local-time related functionality) fromString, as a substitute for the new Date("2345-11-04") style c...

Opengraph URL: https://github.com/AssemblyScript/assemblyscript/pull/1768

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:62220166-943b-bf06-0706-a123dcd695e2
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idECAC:54978:29B569:381047:6B009DB9
html-safe-nonce30f1841792a6bdf3b59f221711bd5aa3ad1b0547a7df0b6644189c72513f91ca
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0FDOjU0OTc4OjI5QjU2OTozODEwNDc6NkIwMDlEQjkiLCJ2aXNpdG9yX2lkIjoiNzE3NjU0OTEzMTE0NDQzNzE3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5e753fa2b3e44030c0827754e190412ade9e1b20517286b7b189316abfaa2665
hovercard-subject-tagpull_request:602896549
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/AssemblyScript/assemblyscript/pull/1768/files
twitter:imagehttps://avatars.githubusercontent.com/u/1098110?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1098110?s=400&v=4
og:image:altThis PR adds getters / setters for UTC dates (I don't plan to add any local-time related functionality) fromString, as a substitute for the new Date("2345-11-04") style constructor -...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None52c95ce7e48016ae14399656b4ee812462b6f1fa28c5008c8394da64794c00b8
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/AssemblyScript/assemblyscript git https://github.com/AssemblyScript/assemblyscript.git
octolytics-dimension-user_id28916798
octolytics-dimension-user_loginAssemblyScript
octolytics-dimension-repository_id105138356
octolytics-dimension-repository_nwoAssemblyScript/assemblyscript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id105138356
octolytics-dimension-repository_network_root_nwoAssemblyScript/assemblyscript
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release1c9ddec8215f9a94e295c8310c3579b9c54ba31a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/AssemblyScript/assemblyscript/pull/1768/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fpull%2F1768%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fpull%2F1768%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=AssemblyScript%2Fassemblyscript
Reloadhttps://github.com/AssemblyScript/assemblyscript/pull/1768/files
Reloadhttps://github.com/AssemblyScript/assemblyscript/pull/1768/files
Reloadhttps://github.com/AssemblyScript/assemblyscript/pull/1768/files
AssemblyScripthttps://github.com/AssemblyScript
assemblyscripthttps://github.com/AssemblyScript/assemblyscript
Codehttps://github.com/AssemblyScript/assemblyscript
Issues196 (196)https://github.com/AssemblyScript/assemblyscript/issues
Pull requests24 (24)https://github.com/AssemblyScript/assemblyscript/pulls
Actionshttps://github.com/AssemblyScript/assemblyscript/actions
Wikihttps://github.com/AssemblyScript/assemblyscript/wiki
Security and qualityhttps://github.com/AssemblyScript/assemblyscript/security
Insightshttps://github.com/AssemblyScript/assemblyscript/insights
Sign up for GitHub https://github.com/signup?return_to=%2FAssemblyScript%2Fassemblyscript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FAssemblyScript%2Fassemblyscript%2Fissues%2Fnew%2Fchoose
dcodeIOhttps://github.com/dcodeIO
AssemblyScript:masterhttps://github.com/AssemblyScript/assemblyscript/tree/master
ColinEberhardt:std-datehttps://github.com/ColinEberhardt/assemblyscript/tree/std-date
Conversation 16 https://github.com/AssemblyScript/assemblyscript/pull/1768
Commits 6 https://github.com/AssemblyScript/assemblyscript/pull/1768/commits
Checks 0 https://github.com/AssemblyScript/assemblyscript/pull/1768/checks
Files changed https://github.com/AssemblyScript/assemblyscript/pull/1768/files
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/1768/files
feat: implemented getters / setters and various string fns on Date https://github.com/AssemblyScript/assemblyscript/pull/1768/files#top
Show all changes 6 commits https://github.com/AssemblyScript/assemblyscript/pull/1768/files
3ede539 feat: added UTC getter / setter methods ColinEberhardt Mar 29, 2021 https://github.com/AssemblyScript/assemblyscript/pull/1768/commits/3ede539dc9bfdfa5a0dac71e03678b493dc544d1
7fa6d4f feat: implemented toISOString and fromString ColinEberhardt Mar 29, 2021 https://github.com/AssemblyScript/assemblyscript/pull/1768/commits/7fa6d4f451f0d32f58484edd0d7a60c334f3a7d4
0b647dd feat: removed the need use JS for the Date.UTC function ColinEberhardt Mar 29, 2021 https://github.com/AssemblyScript/assemblyscript/pull/1768/commits/0b647dda5f12b9491ca7e6b6d7a7c9e9226c5ccf
b7ac6bd chore: linting fixes and added name to NOTICE ColinEberhardt Mar 29, 2021 https://github.com/AssemblyScript/assemblyscript/pull/1768/commits/b7ac6bd1a28fdd9bba3e6c3967c366b93945b62a
0ad464b refactor: modified ymdFromEpochDays to remove allocations ColinEberhardt Mar 29, 2021 https://github.com/AssemblyScript/assemblyscript/pull/1768/commits/0ad464b718d9b8d163296bb6b2e704f5194f1b56
5f236a4 refactor: simplified 'days in month' logic ColinEberhardt Mar 29, 2021 https://github.com/AssemblyScript/assemblyscript/pull/1768/commits/5f236a40da7fdd50a6720c1e6662809d3d48f13e
Clear filters https://github.com/AssemblyScript/assemblyscript/pull/1768/files
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/1768/files
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/1768/files
NOTICE https://github.com/AssemblyScript/assemblyscript/pull/1768/files#diff-dfb14fbb9e7d095209ec4cfd621069437bf9c442ff9de9d4ce889781bd0fefcf
Date.ts https://github.com/AssemblyScript/assemblyscript/pull/1768/files#diff-95689ccc936cfb911273a3acf89f9843379be0cc607b44751d0582ab423bbec5
date.ts https://github.com/AssemblyScript/assemblyscript/pull/1768/files#diff-582211daa67f78e6ed1e01bc4f1ee745bf69e6c5cf22dfc469a059fcb485d702
index.d.ts https://github.com/AssemblyScript/assemblyscript/pull/1768/files#diff-e7dd75c5cf3b028a0cad33e32881f74912a06e29d61509b8820a3a872d15cc0a
error.ts https://github.com/AssemblyScript/assemblyscript/pull/1768/files#diff-0e8bb34b4188bc3154d94c682445e04c45f588ded47f11eaa2dae0b257c9a1a5
date.json https://github.com/AssemblyScript/assemblyscript/pull/1768/files#diff-8e5333c0f81f9977ca8d47ec3426d56821c2ca1b8d503491ce4e488b9fd249f2
date.optimized.wat https://github.com/AssemblyScript/assemblyscript/pull/1768/files#diff-4fd72a31dba77cabc84fd260c9996e6b45c9cefb10d5ac2b29b597d30a2c3796
date.ts https://github.com/AssemblyScript/assemblyscript/pull/1768/files#diff-acdab9fd56ffe1804d9d8a29064ca941e3892b31922ab86406d75d8fbc4be56d
date.untouched.wat https://github.com/AssemblyScript/assemblyscript/pull/1768/files#diff-fc5c40887e95bcccfcaeb6fb60468d13e093304b869b65098763c5ff13b7eb3e
NOTICEhttps://github.com/AssemblyScript/assemblyscript/pull/1768/files#diff-dfb14fbb9e7d095209ec4cfd621069437bf9c442ff9de9d4ce889781bd0fefcf
View file https://github.com/ColinEberhardt/assemblyscript/blob/5f236a40da7fdd50a6720c1e6662809d3d48f13e/NOTICE
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/AssemblyScript/assemblyscript/pull/1768/{{ revealButtonHref }}
https://github.com/AssemblyScript/assemblyscript/pull/1768/files#diff-dfb14fbb9e7d095209ec4cfd621069437bf9c442ff9de9d4ce889781bd0fefcf
https://github.com/AssemblyScript/assemblyscript/pull/1768/files#diff-dfb14fbb9e7d095209ec4cfd621069437bf9c442ff9de9d4ce889781bd0fefcf
std/assembly/bindings/Date.tshttps://github.com/AssemblyScript/assemblyscript/pull/1768/files#diff-95689ccc936cfb911273a3acf89f9843379be0cc607b44751d0582ab423bbec5
View file https://github.com/ColinEberhardt/assemblyscript/blob/5f236a40da7fdd50a6720c1e6662809d3d48f13e/std/assembly/bindings/Date.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/AssemblyScript/assemblyscript/pull/1768/{{ revealButtonHref }}
std/assembly/date.tshttps://github.com/AssemblyScript/assemblyscript/pull/1768/files#diff-582211daa67f78e6ed1e01bc4f1ee745bf69e6c5cf22dfc469a059fcb485d702
View file https://github.com/ColinEberhardt/assemblyscript/blob/5f236a40da7fdd50a6720c1e6662809d3d48f13e/std/assembly/date.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/AssemblyScript/assemblyscript/pull/1768/{{ revealButtonHref }}
dcodeIOhttps://github.com/dcodeIO
Mar 29, 2021https://github.com/AssemblyScript/assemblyscript/pull/1768/files#r603447628
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@MaxGraeyhttps://github.com/MaxGraey
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/1768/files
MaxGraeyhttps://github.com/MaxGraey
Mar 29, 2021https://github.com/AssemblyScript/assemblyscript/pull/1768/files#r603448884
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/1768/files
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/1768/files
dcodeIOhttps://github.com/dcodeIO
Mar 29, 2021https://github.com/AssemblyScript/assemblyscript/pull/1768/files#r603451608
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/1768/files
ColinEberhardthttps://github.com/ColinEberhardt
Mar 29, 2021https://github.com/AssemblyScript/assemblyscript/pull/1768/files#r603550386
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@MaxGraeyhttps://github.com/MaxGraey
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/1768/files
MaxGraeyhttps://github.com/MaxGraey
Mar 29, 2021https://github.com/AssemblyScript/assemblyscript/pull/1768/files#r603591479
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/1768/files
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@ColinEberhardthttps://github.com/ColinEberhardt
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/1768/files
std/assembly/index.d.tshttps://github.com/AssemblyScript/assemblyscript/pull/1768/files#diff-e7dd75c5cf3b028a0cad33e32881f74912a06e29d61509b8820a3a872d15cc0a
View file https://github.com/ColinEberhardt/assemblyscript/blob/5f236a40da7fdd50a6720c1e6662809d3d48f13e/std/assembly/index.d.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/AssemblyScript/assemblyscript/pull/1768/{{ revealButtonHref }}
https://github.com/AssemblyScript/assemblyscript/pull/1768/files#diff-e7dd75c5cf3b028a0cad33e32881f74912a06e29d61509b8820a3a872d15cc0a
https://github.com/AssemblyScript/assemblyscript/pull/1768/files#diff-e7dd75c5cf3b028a0cad33e32881f74912a06e29d61509b8820a3a872d15cc0a
std/assembly/util/error.tshttps://github.com/AssemblyScript/assemblyscript/pull/1768/files#diff-0e8bb34b4188bc3154d94c682445e04c45f588ded47f11eaa2dae0b257c9a1a5
View file https://github.com/ColinEberhardt/assemblyscript/blob/5f236a40da7fdd50a6720c1e6662809d3d48f13e/std/assembly/util/error.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/AssemblyScript/assemblyscript/pull/1768/{{ revealButtonHref }}
https://github.com/AssemblyScript/assemblyscript/pull/1768/files#diff-0e8bb34b4188bc3154d94c682445e04c45f588ded47f11eaa2dae0b257c9a1a5
tests/compiler/std/date.jsonhttps://github.com/AssemblyScript/assemblyscript/pull/1768/files#diff-8e5333c0f81f9977ca8d47ec3426d56821c2ca1b8d503491ce4e488b9fd249f2
View file https://github.com/ColinEberhardt/assemblyscript/blob/5f236a40da7fdd50a6720c1e6662809d3d48f13e/tests/compiler/std/date.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/AssemblyScript/assemblyscript/pull/1768/{{ revealButtonHref }}
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/1768/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.