From c36e91d8e4c8fafb6b0f8c5ad2463c0bef792c52 Mon Sep 17 00:00:00 2001 From: Set Kyar Wa Lar Date: Fri, 1 Mar 2019 11:38:58 +0800 Subject: [PATCH] [3.0] Make Year of readableTimestamp more readable --- resources/js/base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/js/base.js b/resources/js/base.js index 8eb877f4..bf055dec 100644 --- a/resources/js/base.js +++ b/resources/js/base.js @@ -84,7 +84,7 @@ export default { * Convert to human readable timestamp. */ readableTimestamp(timestamp){ - return this.formatDate(timestamp).format('YY-MM-DD HH:mm:ss'); + return this.formatDate(timestamp).format('YYYY-MM-DD HH:mm:ss'); },