Comments (5)
Good idea, and you are right, the JS does override the formatting because of the timezone adjustments. I think this should be fixable though, i just need to find a way to utilize the same date format for both PHP and JS. I'll see what i can do.
from ivfi-php.
I've added a commit to the dev branch. Hopefully it should work now. The date
option can now be set to either array('desktop_format', 'mobile_format')
or just a regular string
if they should both be the same format, i wouldn't recommend this though as the mobile screen space is very limited with these tables.
from ivfi-php.
A date format option has been added. (#13)
from ivfi-php.
Sorry for the late reply. I just updated today to the latest version and saw the new variable for adding in the date format. Although I believe the javascript is overriding any php formatting.
What happens is on the load of a page, it'll show the format that php defines but then is overridden by JS but not following the format.
I'm trying to use m/d/y h:i A
I've attached a gif below of what happens on reloading the page
from ivfi-php.
That's weird. Can you double check that you've updated all of the files? This used to be the issue before the latest release but it should be resolved now.
I tried using the same format as you and i can't reproduce it when reloading the page.
from ivfi-php.
Related Issues (14)
- Something appears to be broken. HOT 2
- Squashing commits HOT 3
- WebDAV Compatability HOT 5
- Unable to show/play images/videos with "#" in the name. HOT 1
- Disable parent directory link HOT 2
- Setting custom themes HOT 2
- Invalid path. path does not exist HOT 7
- Feature Request: Password Protected Directories
- How can it handle a ddos attack? HOT 4
- Support for symlink folders HOT 4
- Detect Timezone of user HOT 1
- Hiding indexer.php and indexer/ HOT 19
- Updating from an old release. HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ivfi-php.