mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-10-31 07:32:59 +00:00 
			
		
		
		
	Fix bug with millisecond 0XXX date format
This commit is contained in:
		| @@ -280,7 +280,7 @@ exports.formatDateString = function(date,template) { | |||||||
| 				return $tw.utils.pad(date.getSeconds()); | 				return $tw.utils.pad(date.getSeconds()); | ||||||
| 			}], | 			}], | ||||||
| 			[/^0XXX/, function() { | 			[/^0XXX/, function() { | ||||||
| 				return $tw.utils.pad(date.getMilliseconds()); | 				return $tw.utils.pad(date.getMilliseconds(),4); | ||||||
| 			}], | 			}], | ||||||
| 			[/^0DD/, function() { | 			[/^0DD/, function() { | ||||||
| 				return $tw.utils.pad(date.getDate()); | 				return $tw.utils.pad(date.getDate()); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jeremy Ruston
					Jeremy Ruston