ISO 8601/RFC 3339 Date in Output Filename Format
 
Benachrichtigungen
Alles löschen

ISO 8601/RFC 3339 Date in Output Filename Format  

  RSS
rahix
(@rahix)
Mitglied
ISO 8601/RFC 3339 Date in Output Filename Format

Just wanted to share the template for including an ISO 8601 date in the output filename format setting for PrusaSlicer. There is a {timestamp} macro, but this also includes the time.  For just the date, you have to build the format manually.

I didn't find this posted anywhere before, so I'm doing it now, hoping to save others some time.  Here is the magic code:

# With dashes
{year}-{zdigits(month, 2, 0)}-{zdigits(day, 2, 0)}

# Without dashes
{year}{zdigits(month, 2, 0)}{zdigits(day, 2, 0)}

Hope this helps!

Veröffentlicht : 31/05/2024 3:02 pm
Teilen: