예제 #1
0
    private void SendParsingDayNotification()
    {
        Debug.Log(txt.text);

        string parseDay = day.Replace("-", "");

        if (m.Equals("오후"))
        {
            hour = (int.Parse(hour) + 12).ToString();
        }
        else
        {
            if (hour == "12") // 오전 12시를 0시로 봐야함
            {
                hour = "00";
            }
        }

        applyDay = parseDay + hour + minute + "00";

        Debug.Log(applyDay + "applyDay");
        NotificationManager.AddLocalPush(0, applyDay, "편지가 도착했어요");
        //AddLocalPush(0, fireDate, "hi");
    }