Support » Plugin: Gcal Sidebar » [Plugin: Gcal Sidebar] Language and time

  • Victor Svedberg

    (@victorsvedberggmailcom)


    Where does it fetch Monday, Thuseday etc. from? Trying to translate to Swedish. And how do I get 24 hrs time without AM/PM?

Viewing 1 replies (of 1 total)
  • Plugin Author rjune

    (@rjune)

    I use the date function to get date related information:
    $date = date("Ymd", $event['startTime']);
    The same for the clock
    $body = sprintf("%s to %s", date("l, F j \\f\\r\o\m g:ia", $event['startTime']), date("g:ia", $event['endTime']));

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Gcal Sidebar] Language and time’ is closed to new replies.