Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UTC time in templates #49

Closed
pix666 opened this issue Jan 20, 2015 · 4 comments
Closed

UTC time in templates #49

pix666 opened this issue Jan 20, 2015 · 4 comments

Comments

@pix666
Copy link

pix666 commented Jan 20, 2015

Maybe should add "expects_localtime=True" to filter silk_date_time?

# templatetags/filters.py

@register.filter(expects_localtime=True)
def silk_date_time(dt):
    return _silk_date_time(dt)
@mtford90
Copy link
Collaborator

Not familiar with this - what does it do? Just translates into local time?

@pix666
Copy link
Author

pix666 commented Jan 25, 2015

@mtford90
Copy link
Collaborator

Great, will add this in the next update also. Cheers!

@mtford90
Copy link
Collaborator

mtford90 commented Apr 8, 2015

Done

@mtford90 mtford90 closed this as completed Apr 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants