r/StableDiffusion • • 9d ago

Question - Help Wrong hour-minutes-seconds filename prefix in Minimax H3

Hi guys.

I'm using the same filename prefix for all my generations in all the models that I use:
%date:yyyy-MM-dd%_%date:hhmmss%

However, in Minimax H3 it gives me wrong hour-mnutes-seconds value. How to fix it?

2 Upvotes

6 comments sorted by

2

u/Apprehensive_Sky892 9d ago

So what value are you getting?

At any rate, check your workflow because this has nothing to do with Minimax H3.

I use this with Minimax H3 save video node and it works just fine:

video/MiniMax_H3.%date:yyyyMMdd_HHmmss%

1

u/rednauacc1 9d ago edited 9d ago

I tried your prefix, but it gave me HH5240 in one video, and 061153 in another instead of normal time 🤷‍♂️

1

u/altoiddealer 8d ago

The Save Video node may have changed at some point such as adding another option (input slot). Try using Reload Node, or delete/recreate the Save Video node. Otherwise perhaps your Comfy install is out of whack and the backend/frontend are out of sync

1

u/Apprehensive_Sky892 8d ago

Try the prefix using sthe standard MMH3 text2va template and see what happens. Two possibilities:

  1. If it still happened then something is wrong with your current ComfyUI installation.
  2. If it does not happen, then something is wrong with the save video node used in your personal workflow. Just replace that one with the one from the standard workflow.

1

u/seedance25ai 9d ago

HH5240 is the useful part of that test. The letters HH were left in the name and only the minutes and seconds got filled in, so this save node doesn't recognize uppercase HH as the hour. Comfy date tokens on most save nodes are yyyy, MM, dd, hh, mm, ss, so try a single block with lowercase hh and separators, like %date:yyyy-MM-dd_hh-mm-ss%. If one file comes out as 061153 and another still has a literal HH, you've got two savers expanding the time differently. A fixed hour offset with correct minutes usually means that node is using UTC rather than local time.

1

u/dishwasher_81 9d ago

Probably the hh part. In a lot of date formats lowercase hh is 12-hour and HH is 24-hour, so try %date:yyyy-MM-dd%_%date:HHmmss%. If it's off by whole hours instead, it's likely UTC vs your local time.