同步本地和服务器时间
我正在使用 Mac 版 espresso,我发现发布工具可能存在问题。
我的服务器位于美国,但我和我的计算机位于西班牙。因此,当我修改计算机中的文件,然后我的一个合作伙伴在美国再次编辑它时,如果我进行同步,我会删除他的文件和我的文件......即使是我的文件更老。
我认为发生这种情况是因为我的时间戳是 GMT+1,而服务器和合作伙伴的时间是 GMT-8(加利福尼亚州),因此如果他们在 9 小时后触摸它,他们的文件只会比我的文件新。
我该如何解决这个问题?
提前致谢!!
I am working with espresso for Mac, and I've found that I may have a problem with publishing tools.
My server is located at the USA, but I, and my computer, are located in Spain. So when I modify a file in my computer, and then one of my partners edits it again in the USA, if I do a sync, I erase his file with mine ... even being mine older.
I think that this is happening because my TIMESTAMP is in GMT+1, while server and partners time is GMT-8 (California), so their file will only be newer than mine if they touch it 9 hours later.
How can I fix that??
Thanks in advance!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在 Espresso 1 中,转到服务器的首选项并展开高级设置(可以命名为不同的名称,我是凭记忆工作的)。应该有一个按钮来检测您的计算机和服务器之间的时间差。使用它,你就可以开始了。我认为 Espresso 2 现在会自动执行此操作。
如果问题仍然存在,请发送消息至[电子邮件受保护]。他们喜欢通过电子邮件解决 FTP 问题。
In Espresso 1, go to the server's preferences and expand advanced settings (could be named something different, I'm working from memory). There should be a button to detect the time difference between your computer and the server. Use that and you should be good to go. I think Espresso 2 does this automatically now.
If you continue to have issues, send a message to [email protected]. They like to take care of FTP issues over email.