このコミットが含まれているのは:
2026-07-18 22:32:34 +09:00
コミット 5ff3fc9441
9個のファイルの変更145行の追加82行の削除
+4 -2
ファイルの表示
@@ -138,8 +138,10 @@ class Post < ApplicationRecord
end
def self.section_literal section
"[#{ Post.ms_to_time(section.begin_ms) }-"\
"#{ section.end_ms ? Post.ms_to_time(section.end_ms) : '' }]"
end_ms =
section.end_ms ? Post.ms_to_time(section.end_ms) : ''
"[#{ Post.ms_to_time(section.begin_ms) }-#{ end_ms }]"
end
def self.ms_to_time ms