0

日時を特定の形式に変換しようとしています:

Timex.format!(my_date_time, "%a, %d %b %Y %H:%M:%S %z"))

これは例外をスローします:

 got {:format, "Invalid format string, must contain at least one directive."} 
 while retrieving Exception.message/1 for %Timex.Format.FormatError{message: 
{:format, "Invalid format string, must contain at least one directive."}} (expected a string)
4

0 に答える 0