diff core/src/luan/modules/Time.luan @ 587:fa281ee942c8

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 24 Aug 2015 04:43:55 -0600
parents 92c3d22745b8
children b4f3dbe1c6e3
line wrap: on
line diff
--- a/core/src/luan/modules/Time.luan	Mon Aug 24 02:17:46 2015 -0600
+++ b/core/src/luan/modules/Time.luan	Mon Aug 24 04:43:55 2015 -0600
@@ -41,7 +41,7 @@
 end
 
 function M.format(time,pattern)
-	pattern = pattern or "yyyy-MM-dd HH:m:ss"
+	pattern = pattern or "yyyy-MM-dd HH:mm:ss"
 	return SimpleDateFormat.new(pattern).format(Date.new(time))
 end