「日付と時刻を挿入」の版間の差分
isari版(12時間対応のフォーマット選択可)を追加 |
細編集の要約なし |
||
| 134行目: | 134行目: | ||
})(); | })(); | ||
const result = format.replace(/(')(.*?)\1|ampm|([YMDdHhms])\3*/g, | |||
function($0,esc,ltr){return ltr || esc || symbol[$0] || $0;} | function($0,esc,ltr){return ltr || esc || symbol[$0] || $0;} | ||
); | ); | ||
Document.Write(result); | Document.Write(result); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
スポンサーリンク