A
Size: a a a
A
A
V
K
K
f
T
T
QL
QL
AF
from flask_moment import Moment
moment = Moment(app)
@app.route('/time')
def time():
return render_template('time.html', current_time=datetime.utcnow())
<p>The local date and time is {{ moment(current_time).format('LLL') }}.</p>
<p>That was {{ moment(current_time).fromNow(refresh=True) }}</p>
В
AF
{{ moment.include_jquery() }}
{{ moment.include_moment() }}
В
AF
В
AF
@app.route('/time')?
def time():
return 'html code'
В
AF