Description

The current clock format. Format is a combination of allowed Libc date format specifiers like: "%b %d, %Y %I : %M %p".

Maximum allowed format length is 64 chars.

Format can include separators for each individual clock field except for AM/PM field.

Each separator can be a maximum of 6 UTF-8 bytes. Space is also taken as a separator.

These specifiers can be arranged in any order and the widget will display the fields accordingly.

Default format is taken as per the system locale settings.

Values

  • fmt - The clock format.

Signature

@property format {
    get {
        values {
            fmt: free(string, free) @nullable;
        }
    }
    set {
        values {
            fmt: free(string, free) @nullable;
        }
    }
}

C signature

const char *efl_ui_clock_format_get(const Eo *obj);
void efl_ui_clock_format_set(Eo *obj, const char *fmt);

Implemented by

  • Efl.Ui.Clock.format