We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
datetime conscients
objet datetime conscient
datetime avisé
Dealing with aware datetime objects isn't always intuitive.
La manipulation des objets datetime conscients n'est pas toujours intuitive.
That's why you should always create aware datetime objects when time zone support is enabled.
C'est pourquoi vous devriez toujours créer des objets datetime conscients lorsque la prise en charge des fuseaux horaires est activée.
Django gives you aware datetime objects in the models and forms, and most often, new datetime objects are created from existing ones through timedelta arithmetic.
Django produit des objets datetime conscients dans les modèles et les formulaires, et la plupart du temps, les nouveaux objets datetime sont créés à partir d'objets existants par des opérations timedelta.
Exactly which methods are needed depends on the uses made of aware datetime objects.
Les méthodes réellement nécessaires dépendent de l'utilisation qui est faite des objets datetime avisés.
Generally, the correct solution is to change your code to use an aware datetime instead.
Généralement, la solution correcte est de modifier votre code pour qu'il utilise plutôt un objet datetime conscient.
To get an aware datetime object, call fromtimestamp()
Pour obtenir un objet datetime avisé, appelez fromtimestamp()
Converts an aware datetime to a different time zone, by default the current time zone.
Convertit un objet datetime conscient vers un fuseau horaire différent, par défaut le fuseau horaire actif.
Also, you're likely to run into a few problems because it's impossible to compare a naive datetime with an aware datetime.
Il est également probable que vous rencontriez quelques problèmes car il est impossible de comparer une date/heure naïve avec une date/heure consciente.
Uses local time() to convert an aware datetime to a date() in a different time zone, by default the current time zone.
Utilise localtime() pour convertir un objet datetime conscient en une date() dans un fuseau horaire différent, par défaut le fuseau horaire actif.
If you merely want to remove the time zone object from an aware datetime dt without conversion of date and time data, use dt.replace(tzinfo=None).
Si vous voulez seulement supprimer le fuseau horaire d'un datetime dt avisé sans conversion des données de date et d'heure, utilisez dt.replace(tzinfo=None).
Note that tzinfo=None can be specified to create a naive datetime from an aware datetime with no conversion of date and time data.
Notez que tzinfo=None peut être spécifié pour créer un datetime naïf depuis un datetime avisé sans conversion de la date ou de l'heure.
Changed in version 3.2: When the %z directive is provided to the strptime() method, an aware datetime object will be produced.
Modifié dans la version 3.2: Quand la directive %z est fournie à la méthode strptime(), un objet datetime avisé est construit.
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.