If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:Calendar

From BoxMatrix


BoxMatrix >> Lexicon >> Internationalisation >> Calendar @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Computer FRITZ I18N Telephony Smarthome Internet Protocols Multimedia Formats Hardware Software Research

Term

Goto:   FRITZ!OS   -   SMW-Browser

Details

A Calendar is a system to organize days, weeks and months in a year. There a many calender systems, but the
Gregorian Calendar we use today turned de facto international standard and is used almost everywhere in the world.

A year is divided into 12 months with differing amount of days:

  • 1 = January - 31 days
  • 2 = February - 28 days (29 in Leap-Years)
  • 3 = March - 31 days
  • 4 = April - 30 days
  • 5 = May - 31 days
  • 6 = June - 30 days
  • 7 = July - 31 days
  • 8 = August - 31 days
  • 9 = September - 30 days
  • 10 = October - 31 days
  • 11 = November - 30 days
  • 12 = December - 31 days

A year is also divided into at least 52 weeks, each of which has 7 days

  • 1 = Monday
  • 2 = Tuesday
  • 3 = Wednesday
  • 4 = Thursday
  • 5 = Friday
  • 6 = Saturday
  • 7 = Sunday

This numbering is just one variant, in USA the week starts with a Sunday, in ISO 8601 Sunday is day 0.
Since the days of a year are not evenly divisible by 7 the weeks may overlap between years, which complicates calculation.

The concept of week days is mainly of use for civil purposes, to have working days and weekend, etc.
However, there are dates which are defined to happen on a specific week day, like eastern or the start and end of DST.

In most Timezones the DST is switched on a specific Sunday of a specific month.
Since a month can have 4 or 5 Sundays number 5 is declared to be the last Sunday of a month in Timezone definitions.

FRITZ!OS

Shell

All Shell-Commands which output a textual Timestamp typically use the strftime function of whatever libc is used.
By default this includes the 3-character textual short form of week day and month:

root@fritz1:/var/mod/root# date

Thu Sep  8 11:19:27 CEST 2022

The format of this string could be changed by a Locale, which is not used in FRITZ!OS, since the Shell is no official interface.

Email

The Push-Mail service which uses mailer also adds a Date header using the textual short form of week day and month:

Message-Id: <1234567.mmailer1234567890@fritz.box>
From: "fritz1" <hippie2000@webnmail.de>
To: <hippie2000@webnmail.de>,
Date: Fri, 9 Sep 2022 00:00:04 +0200

Webinterface

All Timestamps in the Webinterface are numerical and avoid to use textual month and week day names.

But week day / time period scheduled actions (15-min resolution) can be activated for:

The Alarm-Clock just allows to enable each alarm time per week day.

For AVM LED-Lights and Sockets real calenders could be used, but only in conjunction with Google-Calendar.

All other usages allow complex plans to schedule an event, which are maintained by libtimer.so.

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

C