mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-30 10:50:08 +00:00
bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
84907d9d3b
commit
bcc1ace919
@ -336,7 +336,7 @@ module.patchDate = function(date){
|
|||||||
date.prototype.toShortDate = function(show_ms){
|
date.prototype.toShortDate = function(show_ms){
|
||||||
return ''
|
return ''
|
||||||
+ this.getFullYear()
|
+ this.getFullYear()
|
||||||
+'-'+ ('0'+this.getMonth()+1).slice(-2)
|
+'-'+ ('0'+(this.getMonth()+1)).slice(-2)
|
||||||
+'-'+ ('0'+this.getDate()).slice(-2)
|
+'-'+ ('0'+this.getDate()).slice(-2)
|
||||||
+' '+ ('0'+this.getHours()).slice(-2)
|
+' '+ ('0'+this.getHours()).slice(-2)
|
||||||
+':'+ ('0'+this.getMinutes()).slice(-2)
|
+':'+ ('0'+this.getMinutes()).slice(-2)
|
||||||
@ -347,7 +347,7 @@ module.patchDate = function(date){
|
|||||||
date.prototype.getTimeStamp = function(show_ms){
|
date.prototype.getTimeStamp = function(show_ms){
|
||||||
return ''
|
return ''
|
||||||
+ this.getFullYear()
|
+ this.getFullYear()
|
||||||
+ ('0'+this.getMonth()+1).slice(-2)
|
+ ('0'+(this.getMonth()+1)).slice(-2)
|
||||||
+ ('0'+this.getDate()).slice(-2)
|
+ ('0'+this.getDate()).slice(-2)
|
||||||
+ ('0'+this.getHours()).slice(-2)
|
+ ('0'+this.getHours()).slice(-2)
|
||||||
+ ('0'+this.getMinutes()).slice(-2)
|
+ ('0'+this.getMinutes()).slice(-2)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user