You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parseDate takes in either:
a. unix timestamp in miliseconds (which is what timeStamp(inserDate)) also return.
b. OR the ISO 8601 format: yyyy-MM-dd'T'HH:mm:ss. (source: https://date-fns.org/v4.1.0/docs/parseISO)
Well for anyone who struggles like I did--there's some documentation! I'm sure as I play around with make.md, I will find more things undocumented lol. If so, I'll make issues about it. I'm terrible at writing, so I don't want to make a commit to the documentation--until I fully understand make.md. But for now, this is my contribution.
The text was updated successfully, but these errors were encountered:
________________________________
De : Anthony Flores ***@***.***>
Envoyé : Friday, January 17, 2025 3:50:09 PM
À : Make-md/makemd ***@***.***>
Cc : Subscribed ***@***.***>
Objet : [Make-md/makemd] Better Documentation - For Formulas Date Time - parseDate formatDate Formats (Issue #421)
Hi! I struggled a lot today (as a newb) trying to understand what Standard Make.md Formulas use for various functions, such as:
* formatDate
* parseDate
I did some digging in the codebase, and it turns out you use date-fns library.
Some more digging, and I found:
1. formatDate uses these characters to represent parts of a datetime format: https://date-fns.org/v4.1.0/docs/format
2. parseDate takes in either:
a. unix timestamp in miliseconds (which is what timeStamp(inserDate)) also return.
b. OR the ISO 8601 format: yyyy-MM-dd'T'HH:mm:ss. (source: https://date-fns.org/v4.1.0/docs/parseISO)
Well for anyone who struggles like I did--there's some documentation! I'm sure as I play around with make.md, I will find more things undocumented lol. If so, I'll make issues about it. I'm terrible at writing, so I don't want to make a commit to the documentation--until I fully understand make.md. But for now, this is my contribution.
—
Reply to this email directly, view it on GitHub<#421>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAFHKNSHXWUPC5UIPVJXSQL2LFUIDAVCNFSM6AAAAABVMWGRVOVHI2DSMVQWIX3LMV43ASLTON2WKOZSG44TMMRWHEYTSMY>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
Hi! I struggled a lot today (as a newb) trying to understand what Standard Make.md Formulas use for various functions, such as:
I did some digging in the codebase, and it turns out you use date-fns library.
Some more digging, and I found:
a. unix timestamp in miliseconds (which is what timeStamp(inserDate)) also return.
b. OR the ISO 8601 format: yyyy-MM-dd'T'HH:mm:ss. (source: https://date-fns.org/v4.1.0/docs/parseISO)
Well for anyone who struggles like I did--there's some documentation! I'm sure as I play around with make.md, I will find more things undocumented lol. If so, I'll make issues about it. I'm terrible at writing, so I don't want to make a commit to the documentation--until I fully understand make.md. But for now, this is my contribution.
The text was updated successfully, but these errors were encountered: