Posted By

peceps on 10/28/10


Tagged

date mootols


Versions (?)

convertJavaToMootolsDateTimeFormat


 / Published in: Java
 

  1. private String convertJavaToMootolsDateTimeFormat(String javaDateFormat) {
  2. return javaDateFormat.replaceAll("yyyy", "Y").replaceAll("MM", "m").replaceAll("dd", "d").replaceAll("HH", "H").replaceAll("hh", "I").replaceAll("mm", "M").replaceAll("ss", "S").replaceAll("a", "p");
  3. }

Report this snippet  

You need to login to post a comment.