Posts by lucasbbs • 19 points
2 posts
-
-2
votes1
answer168
viewsQ: How to take back a date formatted in MMM/yyyy format for yyyy-MM format with date-fns
I want to take the value of a date string formatted as MMM/yyyy for the format yyyy-MM. For example, for abr/2017, want to return 2017-04. I wrote the following code with the library date-fns, but…
-
0
votes1
answer60
viewsQ: Problem when trying to solve a challenge
Good night, you guys... I need your help to write a small code that is able to receive a number as well as its index and return the next element of the sequence... The problem is that I still can’t…