tastytea,

how does $[unixtime ] work? #Sharkey #Misskey #MFM

o76923,
@o76923@kitty.social avatar

@tastytea

I don't think $[unixtime ] works in MFM per the spec, as implemented in Misskey's playground, or on FireFish. @julia is an expert so she can correct me but I believe the parser requires a function name and at least some content. You can't just have a dangling space like that or a function that has no content so $[unixtime] shouldn't work either.

If it did work, it would be something like $[unixtime now] or $[unixtime.year=2024,month=1,day=24 UTC].

Maybe Sharkey does something different but I can't see any docs to indicate that.

julia,

@o76923 @tastytea reminder: there is no mfm spec lmao

o76923,
@o76923@kitty.social avatar

@julia @tastytea

I meant reference implementation, not spec. I am a very good dev.
​:neocat_laptop_owo:​​:neocat_solder_googly:​

tastytea,

@o76923 i since found out that it is $[unixtime seconds], 0 for 1970-01-01 and so on. ​:neocat_wink:​
@julia

RE: https://s.thenautilus.net/notes/9nogcjhqfg

  • All
  • Subscribed
  • Moderated
  • Favorites
  • fediverse
  • Durango
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • khanakhh
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • everett
  • ngwrru68w68
  • kavyap
  • InstantRegret
  • JUstTest
  • cubers
  • GTA5RPClips
  • cisconetworking
  • ethstaker
  • osvaldo12
  • modclub
  • normalnudes
  • anitta
  • tester
  • megavids
  • Leos
  • provamag3
  • lostlight
  • All magazines