Come modificare rapidamente il formato di data e ora in WordPress
Hai mai desiderato modificare il formato della data e dell'ora del tuo sito WordPress?
Esistono vari modi per esprimere la data e l'ora. Un formato di data e ora che funziona per uno potrebbe non funzionare necessariamente per l'altro. Potresti preferire scrivere il mese e poi la data, o viceversa. Forse sei un fan dei mesi abbreviati o preferisci esprimere i mesi come numeri.
Lo stesso vale per il tempo. Alcuni preferiscono utilizzare orologi a 12 ore, mentre altri usano solo il formato a 24 ore. Tuttavia, capire come formattare la data e l'ora è utile. Ti dà la libertà di rendere una data più leggibile per gli utenti.
Ad esempio, "Lunedì 4 aprile 2023" è più leggibile delle visualizzazioni minime della data come "04.04.2023". Tuttavia, quest'ultimo ha il suo posto. Lo stesso vale per la formattazione dell'ora corrente su un sito web. Alcuni siti possono trarre vantaggio da una visualizzazione di 12 ore come "21:30" mentre altri (come siti militari o medici) preferirebbero avere una visualizzazione di 24 ore come "21:30".
Qualunque sia il tuo formato preferito, sarai felice di sapere che è possibile (e molto semplice) modificare il formato di data e ora dalla dashboard di WordPress.
Continua a leggere