|
|
@@ -35,6 +35,12 @@ export class FunctionsService {
|
|
|
return `${dateStr} ${timeStr} ${period}`;
|
|
|
}
|
|
|
|
|
|
+ notificationDate(date: string): string{
|
|
|
+ let dateObj = new Date(date);
|
|
|
+ console.log(dateObj);
|
|
|
+ return "";
|
|
|
+ }
|
|
|
+
|
|
|
buildHumanDate(date: string): string{
|
|
|
let dateArr = date.split('-').reverse();
|
|
|
let monthInd = parseInt(dateArr[1]) - 1;
|