profile
viewpoint

nikarc/ArtistHunt 0

An app to help you find new artists playing in your area

nikarc/ArtistHunt-Server 0

Server for ArtisHunt App

nikarc/browser_snake 0

Just like on your old cell phone!

nikarc/CarOS 0

A Media Front End for Your Car, Built Using React and Electron

nikarc/Chat_Demo 0

Quick React chat demo

nikarc/CitySquatter 0

Find a place to squat, anywhere in the city

nikarc/electron 0

Build cross platform desktop apps with JavaScript, HTML, and CSS

startedmagnusnordlander/silvia-pi

started time in 25 days

push eventnikarc/vim-purpura

Nick Arcuri

commit sha 541400ee1c59fec470c2e238105d76993a0e27e4

SCSS

view details

push time in 2 months

push eventnikarc/vim-purpura

Nick Arcuri

commit sha 0507ea6810ab76bfe9255aad5e49e1585ea10bd1

Comments and strings

view details

push time in 2 months

create barnchnikarc/vim-purpura

branch : javscript

created branch time in 2 months

fork nikarc/vim-purpura

🌆 A bold purple colorscheme for vim

fork in 2 months

push eventnikarc/ConnecTix

Nicholas Arcuri

commit sha 5aafdc6040891d903323daedf31579c41bed4495

Proxy DateTimeFormatOptions to include dayPeriod

view details

Nicholas Arcuri

commit sha eebe4515bb620bc85ce99bf41bc7066914e93920

Merge pull request #2 from nikarc/typescript_conversion Proxy DateTimeFormatOptions to include dayPeriod

view details

push time in 2 months

PR merged nikarc/ConnecTix

Proxy DateTimeFormatOptions to include dayPeriod

Currently, Typescript's DateTimeFormatOptions interface does not include dayPeriod. A new interface was created to mimic and extend this functionality

+29 -15467

0 comment

5 changed files

nikarc

pr closed time in 2 months

PR opened nikarc/ConnecTix

Proxy DateTimeFormatOptions to include dayPeriod

Currently, Typescript's DateTimeFormatOptions interface does not include dayPeriod. A new interface was created to mimic and extend this functionality

+29 -15467

0 comment

5 changed files

pr created time in 2 months

push eventnikarc/ConnecTix

Nicholas Arcuri

commit sha 5aafdc6040891d903323daedf31579c41bed4495

Proxy DateTimeFormatOptions to include dayPeriod

view details

push time in 2 months

issue openedmicrosoft/TypeScript

Intl DateTimeFormatOptions Missing Properties

Hi guys,

I'm using Intl.DateTimeFormat to format some database dates into human readable format. TS is throwing an error:

Argument of type '{ year: string; month: string; day: string; weekday: string; hour: string; minute: string; dayPeriod: string; }' is not assignable to parameter of type 'DateTimeFormatOptions'.
  Object literal may only specify known properties, and 'dayPeriod' does not exist in type 'DateTimeFormatOptions'.  TS2345

    13 |         hour: 'numeric',
    14 |         minute: 'numeric',
  > 15 |         dayPeriod: 'short'
       |         ^
    16 |     });
    17 |     const date = new Date(eventDate);
    18 |     const [

I noticed that the TS documentation here does not reflect all the options present here

I tried searching the issues but i did not see anything about this specifically. Is this known/intentional? Could I make a quick pr to add the options to the DateTimeFormatOptions interface, if not?

Thanks

TypeScript Version: 3.8.3

<!-- Search terms you tried before logging this (so others can find this issue more easily) --> Search Terms: DateTimeFormatOptions, DateTimeFormat

Code

    const dtFormatter = new Intl.DateTimeFormat('en-US', {
        year: 'numeric',
        month: 'short',
        day: 'numeric',
        weekday: 'short',
        hour: 'numeric',
        minute: 'numeric',
        dayPeriod: 'short'
    });

Expected behavior: dayPeriod is exposed in the DateTimeFormatOptions interface

Actual behavior: Error is thrown because dayPeriod is not present in DateTimeFormatOptions

Playground Link: playground

created time in 2 months

push eventnikarc/ConnecTix

Nicholas Arcuri

commit sha 4cd002a4a07ccf01e8093f8cf3a7252d62e035ce

Limit homepage events to 3

view details

Nicholas Arcuri

commit sha 66cb7cbf81b4ad3689e2307c6157edf8f5896683

Profile page layout fix

view details

Nicholas Arcuri

commit sha 762c9a943689a98cb9a06bff07b0401344643e10

Featured event styling

view details

Nicholas Arcuri

commit sha c93e04a5e4c18467e799552bb871062f39f022b8

Loading component

view details

Nicholas Arcuri

commit sha 942ae9aff38f40af3040821f1e25e994b6a867a9

Featured event styling

view details

Nicholas Arcuri

commit sha fee986b625e49852b9a8c6967b16578effadb473

Profile loading animation

view details

Nicholas Arcuri

commit sha 0dd30b3c10b80f5665abb18e4c7e13630ecfd816

Merge branch 'loading-page'

view details

Nicholas Arcuri

commit sha 3a4b0f3464f65a414b45cfebed8cfeaa9ee37912

Refactor to use Typescript

view details

Nicholas Arcuri

commit sha 6c8ba1ab74c91efed2e900e985b79797866233b7

Merge pull request #1 from nikarc/typescript_conversion Typescript conversion

view details

push time in 2 months

PR merged nikarc/ConnecTix

Typescript conversion
+16578 -233

0 comment

43 changed files

nikarc

pr closed time in 2 months

PR opened nikarc/ConnecTix

Typescript conversion
+16578 -233

0 comment

43 changed files

pr created time in 2 months

create barnchnikarc/ConnecTix

branch : typescript_conversion

created branch time in 2 months

fork nikarc/TypeScript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

https://www.typescriptlang.org

fork in 2 months

push eventnikarc/ConnecTix

Nicholas Arcuri

commit sha 5a2ef15a7aa41b388dfde56672832d2a73aaadf6

Color change and sticky header

view details

Nicholas Arcuri

commit sha 0f4c9ce44ed6954ed7307141ac1db3b2c570950f

SVG wave styling

view details

Nicholas Arcuri

commit sha f15dee863f06f92771eb890df7232bdfe97eb313

Homepage mobile styling

view details

push time in 2 months

push eventnikarc/ConnecTix

Nicholas Arcuri

commit sha 8c67a644074d9369803a852ae3bcf2b2d13d4a8a

Fix cart page columns wrapper

view details

Nicholas Arcuri

commit sha b832af2084bbc0a108a55417a04cf713d08b8b43

Homepage featured card

view details

Nicholas Arcuri

commit sha d69242dd4f49071900493d0bc7056cf992bca715

Move page components to pages/ folder

view details

Nicholas Arcuri

commit sha af722eb1be0a0a4a684a2d972e8923bfc00a124d

Featured event on homepage

view details

Nicholas Arcuri

commit sha af153188693755935f600a4abfeb803411a539cd

Button styling fix

view details

push time in 3 months

push eventnikarc/ConnecTix

Nicholas Arcuri

commit sha 6bff755865f8a8bec383ada93ed1df51442963df

Update README

view details

push time in 3 months

push eventnikarc/ConnecTix

Nicholas Arcuri

commit sha 2280f24fa80adfda6142935cea322195b3656094

Store async thunk refactor/separation

view details

push time in 3 months

push eventnikarc/ConnecTix

Nicholas Arcuri

commit sha 27e40a4c799c45bec17935931a236272b691a903

Handle ticket deletion from cart

view details

push time in 3 months

push eventnikarc/ConnecTix

Nicholas Arcuri

commit sha 35decbc523c72382e318ec08c02915df7f436ace

Site title

view details

Nicholas Arcuri

commit sha 7e50d8aea5c11d73338d116f992f90f369efe0b7

Fix error on ticket add when not signed in

view details

Nicholas Arcuri

commit sha e8c7791ee52690260db4305d6ae59d5f00e00a70

Remove unneeded console log

view details

push time in 3 months

push eventnikarc/nikarc.github.io

Nicholas Arcuri

commit sha f4ae0ea17985e97bd77f29809539ea52954eef33

Tech tag updates

view details

Nicholas Arcuri

commit sha 29e33d3f09e26c746b0e90eb5d64b7677f6130c8

Merge branch 'master' of github.com:nikarc/nikarc.github.io

view details

push time in 3 months

push eventnikarc/nikarc.github.io

Nicholas Arcuri

commit sha 3cf551c35cb2e987cad8d584cb21eb0b8abd36e1

Create CNAME

view details

push time in 3 months

push eventnikarc/nikarc.github.io

Nicholas Arcuri

commit sha 6d197a78a0a0120a20ab32e8d6652b2ad792b3c8

Delete CNAME

view details

push time in 3 months

push eventnikarc/nikarc.github.io

Nicholas Arcuri

commit sha d4e43e98446ac399a7383c1f719e42698c0ded6b

Content and mobile styling

view details

Nicholas Arcuri

commit sha e31622d022ac42026372ee4a4c12afa01be67916

Desktop styling

view details

Nicholas Arcuri

commit sha 5e5e2bb88e9f65caf8d258f81e5beade126da4e4

List bullet stlyes

view details

push time in 3 months

push eventnikarc/ConnecTix

Nicholas Arcuri

commit sha 3847fb6c90add6f3086739c0ad08a4918db9089e

Styling updates

view details

Nicholas Arcuri

commit sha 434c640c2613e03b725b357d1b198f2caf822d9a

Profile page styling

view details

Nicholas Arcuri

commit sha 2f431b363aa98e4b79ab6c5c4ec0b03aa4365e9f

General styling

view details

push time in 3 months

push eventnikarc/ConnecTix

Nicholas Arcuri

commit sha fdef3d322a1e025a517a1e5ca2a15468b23f3318

Fix home page image height

view details

push time in 3 months

push eventnikarc/ConnecTix

Nicholas Arcuri

commit sha ad2c85c3909be8398b178628c38482da27772e7c

Fix Home scss filename case

view details

push time in 3 months

push eventnikarc/ConnecTix

Nicholas Arcuri

commit sha b147b72cace81ed2821d283e66feeb9380021d4f

Add node version to package json

view details

Nicholas Arcuri

commit sha c6bf02d5fe34bef41142476f7299ebc7fe31513f

Move auth0 config to env vars

view details

push time in 3 months

push eventnikarc/ConnecTix

Nicholas Arcuri

commit sha 2c2e6da019c79c3efd94280c5b3e5a672fb237d1

Update App Name

view details

push time in 3 months

push eventnikarc/TicketingApp

Nicholas Arcuri

commit sha 43af62dc369faac79b51e85f59d99743861351aa

Update README

view details

push time in 3 months

push eventnikarc/TicketingApp

Nicholas Arcuri

commit sha 0ff17905e364cec5b2fbffb65352a44caf277029

Cart page cleanup/styling

view details

Nicholas Arcuri

commit sha 359767a640008b3b3288469ac7b713bcbb6c6b89

Stripe card elements setup

view details

Nicholas Arcuri

commit sha f0df3d984cf5e58d2a3146ba778dfb6aa9d5a324

Refactor store to be order based

view details

Nicholas Arcuri

commit sha 6ff3f7052f96c0c7018f6bc0eb709751ced707c4

Complete checkout

view details

Nicholas Arcuri

commit sha 1a89b05009e067181fe2ae97c06def0045c33c89

Merge branch 'checkout'

view details

push time in 3 months

push eventnikarc/TicketingApp

Nicholas Arcuri

commit sha 21c2a27b05d9fca45dae02582bee1bf1efa5255c

Update READMEs

view details

push time in 3 months

push eventnikarc/TicketingApp

Nicholas Arcuri

commit sha 03d10b88b0d94be964a6cffb7f4f37acf0d6380d

Setup picker with redux store

view details

Nicholas Arcuri

commit sha 1fa30b639fc98a3c6a9146425e883d48d235b6f2

Cart button and subscribe to store

view details

Nicholas Arcuri

commit sha ba8b7aec0eb2d818cdb1ef60d5afb2597ff5578f

Save and read tickets to cookies

view details

Nicholas Arcuri

commit sha 59199628212f661207cefcc2c100825421ee444e

Sync tickets with cookies and redux store

view details

Nicholas Arcuri

commit sha cd7e8e624d5ba477f3892701f327f1022b9bc49a

Cart page stlying/formatting

view details

push time in 3 months

more